diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-06-12 16:08:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-06-12 16:08:25 +0100 |
| commit | 4fa8274be83aeaa0c9503a778b2b17f673570723 (patch) | |
| tree | 658eb50fb5aa73614dfeb455d2cf39e43a699fd5 /src/raw_convert.cc | |
| parent | b7c7e14463d91608b080a5a63fcfb4d330ced863 (diff) | |
Add another type to raw/locale convert.
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 f51a10f6..7b4e6c6d 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -197,6 +197,13 @@ dcp::raw_convert (string v, int precision, bool fixed) } template <> +unsigned long +dcp::raw_convert (string v, int precision, bool fixed) +{ + return locale_convert<unsigned long> (make_local (v), precision, fixed); +} + +template <> long long dcp::raw_convert (string v, int precision, bool fixed) { |
