Namespaces
Variants
Views
Actions

std::char_traits::to_char_type

From cppreference.com
< cpp‎ | string‎ | char traits
Revision as of 09:38, 9 June 2013 by P12 (Talk | contribs)

static char_type to_char_type( int_type c );
(until C++11)
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.

Contents

Parameters

c - value to convert

Return value

A value equivalent to c.

Exceptions

noexcept specification:  
noexcept
  

Complexity

Constant.