std::char_traits::eq_int_type

static bool eq_int_type( int_type c1, int_type c2 ); (until C++11) static constexpr bool eq_int_type( int_type c1, int_type c2 ); (since C++11) Checks whether two values of type int_type are equal. Parameters c1, c2 - values to compare Return value true if c1 is equal to c2, false otherwise. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant.

std::char_traits::eq

(1) static bool eq( char_type a, char_type b ); (until C++11) static constexpr bool eq( char_type a, char_type b ); (since C++11) (2) static bool lt( char_type a, char_type b ); (until C++11) static constexpr bool lt( char_type a, char_type b ); (since C++11) Compares two characters. 1) Compares a and b for equality. 2) Compares a and b in such a way that they are totally ordered. For the char specialization, eq and lt are defined identically to the built-in operato

std::char_traits::eof

static int_type eof(); (until C++11) static constexpr int_type eof(); (since C++11) Returns a value not equivalent to any value of type char_type. Parameters (none). Return value A value not equivalent to any value of type char_type. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also not_eof [static] checks whether a character is eof value (public static member function)

std::char_traits::copy

static char_type* copy( char_type* dest, const char_type* src, std::size_t count ); Copies count character from character string pointed to by src to character string pointed to by dest. The behavior is undefined if copied character ranges overlap, i.e. src is in [dest, dest + count). Parameters dest - pointer to a character string to copy to src - pointer to a character string to copy from count - the number of characters to copy Return value dest. Exception

std::char_traits::compare

static int compare( const char_type* s1, const char_type* s2, std::size_t count ); Compares the first count characters of the character strings s1 and s2. The comparison is done lexicographically. If count is zero, strings are considered equal. Parameters s1, s2 - pointers to character strings to compare count - the number of characters to compare from each character string Return value Negative value if s1 is less than s2. ​0​ if s1 is equal to s2. Positive value if

std::char_traits::assign

static void assign( char_type& r, const char_type& a ); (1) static char_type* assign( char_type* p, std::size_t count, char_type a ); (2) Assigns a character. 1) Assigns character a to character r. 2) Assigns character a to each character in count characters in the character sequence pointed to by p. Parameters a - character value to assign r - character to assign to p - pointer to a character sequence to assign to count - the length of the char

std::char_traits

Defined in header <string> template< class CharT > class char_traits; The char_traits class is a traits class template that abstracts basic character and string operations for a given character type. The defined operation set is such that generic algorithms almost always can be implemented in terms of it. It is thus possible to use such algorithms with almost any possible character or string type, just by supplying customized char_traits class. The char_traits cl

std::cerr

Defined in header <iostream> extern std::ostream cerr; (1) extern std::wostream wcerr; (2) The global objects std::cerr and std::wcerr control output to a stream buffer of implementation-defined type (derived from std::streambuf and std::wstreambuf, respectively), associated with the standard C error output stream stderr. These objects are guaranteed to be initialized during or before the first time an object of type std::ios_base::Init is constructed and are availabl

std::ceil

Defined in header <cmath> float ceil( float arg ); (1) double ceil( double arg ); (2) long double ceil( long double arg ); (3) double ceil( Integral arg ); (4) (since C++11) 1-3) Computes the smallest integer value not less than arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - floating point value Return value If

std::cbrt

Defined in header <cmath> float cbrt( float arg ); (1) (since C++11) double cbrt( double arg ); (2) (since C++11) long double cbrt( long double arg ); (3) (since C++11) double cbrt( Integral arg ); (4) (since C++11) Computes the cubic root of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or I