World's fastest integer to ASCII conversion, C++14 template meta-programming implementation, any size integer 8,16,32,64-bit, signed or unsigned, forward (left-justified) or reverse (right justified). If you know of a faster implementation, let me know.
got:
^
itoa_impl.h:207:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:207:29: error: expected ‘>’ before ‘<’ token
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:216:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_tstd::is_signed<I::value
^
itoa_impl.h:216:29: error: expected ‘>’ before ‘<’ token
std::enable_if_tstd::is_signed<I::value
^
itoa.cpp:31:53: error: ‘std::index_sequence’ has not been declared
constexpr auto generate_array( Gen&& item, std::index_sequence<Is...>)
^
itoa.cpp:31:67: error: expected ‘,’ or ‘...’ before ‘<’ token
constexpr auto generate_array( Gen&& item, std::index_sequence<Is...>)
^
itoa.cpp:37:12: error: ‘make_index_sequence’ is not a member of ‘std’
}, std::make_index_sequence<200>{} );
^
itoa.cpp:37:41: error: expected primary-expression before ‘{’ token
}, std::make_index_sequence<200>{} );
^
In file included from itoa.h:28:0:
itoa_impl.h:207:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:207:29: error: expected ‘>’ before ‘<’ token
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:216:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_tstd::is_signed<I::value
^
itoa_impl.h:216:29: error: expected ‘>’ before ‘<’ token
std::enable_if_tstd::is_signed<I::value
^
itoa_impl.h:207:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:207:29: error: expected ‘>’ before ‘<’ token
std::enable_if_t<not std::is_signed::value
^
itoa_impl.h:216:18: error: ‘std::enable_if_t’ has not been declared
std::enable_if_tstd::is_signed<I::value
^
itoa_impl.h:216:29: error: expected ‘>’ before ‘<’ token
std::enable_if_tstd::is_signed<I::value
^