std::char_traits::to_char_type

1
static char_type to_char_type( int_type c );
(until C++11)
1
static constexpr char_type to_char_type( int_type c );
(since C++11)

Converts a value of int_type to char_type. If there are no equivalent value, the results are unspecified.

Parameters

c - value to convert

Return value

A value equivalent to c.

Exceptions

(none) (until C++11)
noexcept specification:
noexcept
(since C++11)

Complexity

Constant.

doc_CPP
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.