diff options
Diffstat (limited to 'src/raw_convert.cc')
| -rw-r--r-- | src/raw_convert.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/raw_convert.cc b/src/raw_convert.cc index e1b909c0..f51a10f6 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -169,6 +169,20 @@ dcp::raw_convert (wchar_t const * v, int, bool) } template <> +unsigned char +dcp::raw_convert (std::string v, int precision, bool fixed) +{ + return locale_convert<unsigned char> (make_local (v), precision, fixed); +} + +template <> +unsigned short int +dcp::raw_convert (std::string v, int precision, bool fixed) +{ + return locale_convert<unsigned short int> (make_local (v), precision, fixed); +} + +template <> int dcp::raw_convert (string v, int precision, bool fixed) { |
