diff --git a/include/duckhandy/int_conv.hpp b/include/duckhandy/int_conv.hpp index 69fa51c..34bd733 100644 --- a/include/duckhandy/int_conv.hpp +++ b/include/duckhandy/int_conv.hpp @@ -24,6 +24,8 @@ #include #include +#define DHANDY_INTCONV_USE_STDSTRING + namespace dhandy { namespace implem { template > @@ -42,6 +44,14 @@ namespace dhandy { return IntConvString{retval.begin(), retval.end() - 1}; } }; +#if defined(DHANDY_INTCONV_USE_STDSTRING) + template + struct IntConv>, F, ASCIITranslator, true> { + static IntConvString> conv (const F& in) { + return std::to_string(in); + } + }; +#endif template struct IntConv, F, Tr, true> { consteval static IntConvStringView conv (const F& in) {