diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-12 12:53:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-12 12:53:29 +0100 |
| commit | eec238a778d631b8549c640178e1ab28b07505f4 (patch) | |
| tree | b8641a71ec97aa2ea57f2547816f100f4fce26dd /src/raw_convert.cc | |
| parent | 06a5d6461590a49c5cc014c279279bc63a432a2a (diff) | |
Add more {raw,locale}_convert methods.
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 cb7807a3..5f8c1e41 100644 --- a/src/raw_convert.cc +++ b/src/raw_convert.cc @@ -66,6 +66,13 @@ dcp::raw_convert (int v, int precision, bool fixed) template <> string +dcp::raw_convert (unsigned int v, int precision, bool fixed) +{ + return make_raw (locale_convert<string> (v, precision, fixed)); +} + +template <> +string dcp::raw_convert (int64_t v, int precision, bool fixed) { return make_raw (locale_convert<string> (v, precision, fixed)); |
