static int_type to_int_type( char_type c ); | (until C++11) | |
static constexpr int_type to_int_type( char_type c ) noexcept; | (since C++11) |
Converts c to int_type.
See CharTraits for the general requirements on character traits for X::to_int_type.
| c | - | value to convert |
A value equivalent to c.
Constant.
For every valid value of char_type, there must be a unique value of int_type distinct from eof().
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/string/char_traits/to_int_type