| Classes | ||||
(C++17) | ||||
| Member functions | ||||
char_traits::assign | ||||
| static void assign( char_type& c1, const char_type& c2 ); |
(1) | (noexcept since C++11) (constexpr since C++17) |
| static char_type* assign( char_type* ptr, std::size_t count, char_type c2 ); |
(2) | (constexpr since C++20) |
See CharTraits for the general requirements on character traits for X::assign.
| c1 | - | character to assign to |
| c2 | - | character value to assign |
| ptr | - | pointer to a character sequence to assign to |
| count | - | the length of the character sequence |