return y;
}
+template<>
+unsigned long long
+dcp::locale_convert (string x, int, bool)
+{
+ unsigned long long y = 0;
+#ifdef LIBDCP_WINDOWS
+ __mingw_sscanf (x.c_str(), "%llud", &y);
+#else
+ sscanf (x.c_str(), "%llud", &y);
+#endif
+ return y;
+}
+
template<>
float
dcp::locale_convert (string x, int, bool)
long long
locale_convert (std::string x, int, bool);
+template <>
+unsigned long long
+locale_convert (std::string x, int, bool);
+
template <>
float
locale_convert (std::string x, int, bool);
return locale_convert<long long> (make_local (v), precision, 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)
long long
raw_convert (std::string v, int, bool);
+template <>
+unsigned long long
+raw_convert (std::string v, int, bool);
+
template <>
int
raw_convert (char const * v, int, bool);