diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-25 21:38:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-25 21:38:56 +0100 |
| commit | 7ffed930aba6f84eb48c8f7f925e59247b8b1dc3 (patch) | |
| tree | b99ac21d2a0370330bd7c28cf39e7e366bc6292e /src/raw_convert.cc | |
| parent | 4fa8274be83aeaa0c9503a778b2b17f673570723 (diff) | |
Add another raw_convert type.
Diffstat (limited to 'src/raw_convert.cc')
| -rw-r--r-- | src/raw_convert.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc index 7b4e6c6d..b4dcb5be 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -211,6 +211,13 @@ dcp::raw_convert (string v, int precision, bool fixed) } template <> +unsigned long long +dcp::raw_convert (string v, int precision, bool fixed) +{ + return locale_convert<unsigned long long> (make_local (v), precision, fixed); +} + +template <> int dcp::raw_convert (char const * v, int precision, bool fixed) { |
