Using long long unsigned only on 64 bit
This commit is contained in:
parent
c0790984ee
commit
d213c0ade0
@ -34,7 +34,9 @@ CONVERTER_PRIMITIVE_ST(float, std::stof(std::string{str}));
|
|||||||
CONVERTER_PRIMITIVE_ST(double, std::stod(std::string{str}));
|
CONVERTER_PRIMITIVE_ST(double, std::stod(std::string{str}));
|
||||||
CONVERTER_PRIMITIVE_ST(long_double, std::stold(std::string{str}));
|
CONVERTER_PRIMITIVE_ST(long_double, std::stold(std::string{str}));
|
||||||
|
|
||||||
//CONVERTER_PRIMITIVE_ST(long_long_unsigned_int_t, std::stoull(std::string{str}));
|
#if __x86_64__
|
||||||
|
CONVERTER_PRIMITIVE_ST(long_long_unsigned_int_t, std::stoull(std::string{str}));
|
||||||
|
#endif
|
||||||
|
|
||||||
CONVERTER_ST(std__string, return std::string{str};, return std::any_cast<std__string>(value););
|
CONVERTER_ST(std__string, return std::string{str};, return std::any_cast<std__string>(value););
|
||||||
CONVERTER_ST(std__string_view, return str;, return std::string{std::any_cast<std__string_view>(value)};);
|
CONVERTER_ST(std__string_view, return str;, return std::string{std::any_cast<std__string_view>(value)};);
|
||||||
|
@ -52,9 +52,9 @@ namespace ts {
|
|||||||
|
|
||||||
CONVERTER_PRIMITIVE(int64_t);
|
CONVERTER_PRIMITIVE(int64_t);
|
||||||
CONVERTER_PRIMITIVE(uint64_t);
|
CONVERTER_PRIMITIVE(uint64_t);
|
||||||
|
#if __x86_64__
|
||||||
//CONVERTER_PRIMITIVE(long_long_unsigned_int_t);
|
CONVERTER_PRIMITIVE(long_long_unsigned_int_t);
|
||||||
|
#endif
|
||||||
typedef std::string std__string;
|
typedef std::string std__string;
|
||||||
typedef std::string_view std__string_view;
|
typedef std::string_view std__string_view;
|
||||||
typedef const char* const_char__;
|
typedef const char* const_char__;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user