X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fconvert.h;h=fb069c98c312bf7a6a39da7740b414e5e11873c7;hb=1410eeb10e4ce1549ce381ab7ae85847c442c41f;hp=c1cd31551a8e46b48ab89474ef4d2109c1f7c21d;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/support/convert.h b/src/support/convert.h index c1cd31551a..fb069c98c3 100644 --- a/src/support/convert.h +++ b/src/support/convert.h @@ -33,15 +33,23 @@ template<> std::string convert(unsigned int ui); template<> docstring convert(unsigned int ui); template<> std::string convert(unsigned long ul); template<> docstring convert(unsigned long ul); +#ifdef LYX_USE_LONG_LONG +template<> std::string convert(unsigned long long ull); +template<> docstring convert(unsigned long long ull); +#endif template<> std::string convert(long l); template<> docstring convert(long l); +#ifdef LYX_USE_LONG_LONG +template<> std::string convert(long long ll); +template<> docstring convert(long long ll); +#endif template<> std::string convert(float f); template<> std::string convert(double d); -template<> int convert(std::string const s); -template<> int convert(docstring const s); -template<> unsigned int convert(std::string const s); -template<> unsigned long convert(std::string const s); -template<> double convert(std::string const s); +template<> int convert(std::string const & s); +template<> int convert(docstring const & s); +template<> unsigned int convert(std::string const & s); +template<> unsigned long convert(std::string const & s); +template<> double convert(std::string const & s); template<> int convert(char const * cptr); template<> double convert(char const * cptr);