Namespaces
Variants

std::char_traits<char>:: to_int_type, std::char_traits<wchar_t>:: to_int_type, std::char_traits<char8_t>:: to_int_type, std::char_traits<char16_t>:: to_int_type, std::char_traits<char32_t>:: to_int_type

From cppreference.net
static int_type to_int_type ( char_type c ) ;
(constexpr C++11부터)
(noexcept C++11부터)

c int_type 으로 변환합니다.

일반적인 문자 특성에 대한 요구사항은 CharTraits 에서 X::to_int_type 에 대한 내용을 참조하십시오.

목차

매개변수

c - 변환할 값

반환값

c 에 해당하는 값.

복잡도

상수.

참고 사항

char_type 의 모든 유효한 값에 대해, int_type 의 고유한 값이 eof() 와 구별되어 존재해야 합니다.