Header-only C++ library with commonly useful stuff.
King_DuckZ
938c8fa9a4
Changed so that int_conv<string_view>() called on a non-constexpr doesn't compiler anymore (because code would try to go through a consteval method). It wouldn't work anyways as the returned value would be always garbage. If you want a string_view then you must either give a constexpr input value or you must call int_conv_raw and call to_string_view() yourself. This is better than throwing a runtime exception (which was working ok btw). All the SafeRetVal stuff is not needed anymore. Also no need for all that confusing sfinae, I can just use a bool FromInt and specialise on that. |
||
---|---|---|
include/duckhandy | ||
lib | ||
test/unit | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
COPYING |