table of contents
std::char_traits::to_int_type,std::char_traits::to_int_type,(3) | C++ Standard Libary | std::char_traits::to_int_type,std::char_traits::to_int_type,(3) |
NAME¶
std::char_traits::to_int_type,std::char_traits::to_int_type, - std::char_traits::to_int_type,std::char_traits::to_int_type,
Synopsis¶
std::char_traits<char32_t>::to_int_type
static int_type to_int_type( char_type c ); (constexpr since C++11)
(noexcept since C++11)
Converts c to int_type.
See CharTraits for the general requirements on character traits for
X::to_int_type.
Parameters¶
c - value to convert
Return value¶
A value equivalent to c.
Complexity¶
Constant.
Notes¶
For every valid value of char_type, there must be a unique value
of int_type
distinct from eof().
2024.06.10 | http://cppreference.com |