Result is specific to verify_asset().
[libdcp.git] / src / locale_convert.h
index 0572840915de05bc80f3d1f9c6880e82f8ea8162..aaf0dd6eaaff388c985192849b4af52c0ab40ab8 100644 (file)
@@ -51,6 +51,14 @@ locale_convert (Q x, int precision = 16, bool fixed = false)
        BOOST_STATIC_ASSERT (sizeof (Q) == 0);
 }
 
+template <>
+std::string
+locale_convert (unsigned char x, int, bool);
+
+template <>
+std::string
+locale_convert (unsigned short int x, int, bool);
+
 template <>
 std::string
 locale_convert (int x, int, bool);
@@ -107,12 +115,36 @@ template <>
 std::string
 locale_convert (boost::filesystem::path x, int, bool);
 
+template <>
+unsigned char
+locale_convert (std::string x, int, bool);
+
+template <>
+unsigned short int
+locale_convert (std::string x, int, bool);
+
+template <>
+unsigned int
+locale_convert (std::string x, int, bool);
+
 template <>
 int
 locale_convert (std::string x, int, bool);
 
 template <>
-long int
+long
+locale_convert (std::string x, int, bool);
+
+template <>
+unsigned long
+locale_convert (std::string x, int, bool);
+
+template <>
+long long
+locale_convert (std::string x, int, bool);
+
+template <>
+unsigned long long
 locale_convert (std::string x, int, bool);
 
 template <>