]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/include/stg/common.h
Added specialization of str2x for doubles.
[stg.git] / stglibs / common.lib / include / stg / common.h
index f46c922aedf6a85be7423b00c0a97285af40f064..af0f89a181c66dafd477356a5429f6baf148d7e2 100644 (file)
@@ -152,6 +152,7 @@ std::string ToPrintable(const std::string & src);
 //-----------------------------------------------------------------------------
 int str2x(const std::string & str, int32_t & x);
 int str2x(const std::string & str, uint32_t & x);
+int str2x(const std::string & str, double & x);
 #ifndef WIN32
 int str2x(const std::string & str, int64_t & x);
 int str2x(const std::string & str, uint64_t & x);