Home / integration in std

For comfortable work with basic_integer in Standard Template Library (STL) added function and structure overloads.

Functions
swap overload for std::swap
operator>> input from std::basic_istream
operator<< output to std::basic_ostream
to_string converts integer to std::string
strtoull
strtoll
converts C-string to (un)signed integer
to_chars converts integer to fixed size character buffer
since C++17
from_chars converts fixed size character buffer to integer
since C++17
Structures
is_integral returns std::true_type for integer type
is_unsigned
is_signed
returns std::true_type for (un)signed integer type
make_unsigned
make_signed
returns equivalent (un)signed version for integer type
numeric_limits information about integer type
hash returns FNV-1a 64-bit hash from bytes of integer
formatter used in functions std::format, std::print and etc.
since C++20