std::basic_ostream::operator<<

basic_ostream& operator<<( short value ); basic_ostream& operator<<( unsigned short value ); (1) basic_ostream& operator<<( int value ); basic_ostream& operator<<( unsigned int value ); (2) basic_ostream& operator<<( long value ); basic_ostream& operator<<( unsigned long value ); (3) basic_ostream& operator<<( long long value ); basic_ostream& operator<<( unsigned long long value ); (4) (since

Comparison operators

Compares the arguments. Operator name Syntax Over​load​able Prototype examples (for class T) As member function As free (namespace) function equal to a == b Yes bool T::operator ==(const T2 &b) const; bool operator ==(const T &a, const T2 &b); not equal to a != b Yes bool T::operator !=(const T2 &b) const; bool operator !=(const T &a, const T2 &b); less than a < b Yes bool T::operator <(const T2 &b) const; bool operator <

Elaborated type specifier

Elaborated type specifiers may be used to refer to a previously-declared class name (class, struct, or union) or to a previously-declared enum name even if the name was hidden by a non-type declaration. They may also be used to declare new class names. Syntax class-key class-name (1) enum enum-name (2) class-key attr(optional) identifier ; (3) class-key - one of class, struct, union class-name - the name of a previously-declared class type, optionally qualified

std::isdigit(std::locale)

Defined in header <locale> template< class charT > bool isdigit( charT ch, const locale& loc ); Checks if the given character is classified as a digit by the given locale's std::ctype facet. Parameters ch - character loc - locale Return value Returns true if the character is classified as a digit, false otherwise. Possible implementation template< class charT > bool isdigit( charT ch, const std::locale& loc ) { return std::use

char32_t

Usage char32_t type: as the declaration of the type (since C++11)

std::extreme_value_distribution::extreme_value_distribution

explicit extreme_value_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit extreme_value_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (location) b - the b distribution parameter (scale) params - the distribution

std::ctype::widen

Defined in header <locale> public: CharT widen( char c ) const; (1) public: const char* widen( const char* beg, const char* end, CharT* dst ) const; (2) protected: virtual CharT do_widen( char c ) const; (3) protected: virtual const char* do_widen( const char* beg, const char* end, CharT* dst ) const; (4) 1,2) public member function, calls the protected virtual member function do_widen of the most derived class. 3) Converts the single-byte character c to

std::allocator::construct

Defined in header <memory> void construct( pointer p, const_reference val ); (1) (until C++11) template< class U, class... Args > void construct( U* p, Args&&... args ); (2) (since C++11) Constructs an object of type T in allocated uninitialized storage pointed to by p, using placement-new. 1) Calls new((void *)p) T(val). 2) Calls ::new((void *)p) U(std::forward<Args>(args)...). Parameters p - pointer to allocated uninitialized storage va

std::condition_variable_any::wait_until

template< class Lock, class Clock, class Duration > std::cv_status wait_until( Lock& lock, const std::chrono::time_point<Clock, Duration>& timeout_time ); (1) (since C++11) template< class Lock, class Clock, class Duration, class Predicate > bool wait_until( Lock& lock, const std::chrono::time_point<Clock, Duration>& timeout_time, Predicate pred ); (2) (since C++11) wait_until caus

std::cauchy_distribution::reset

void reset(); (since C++11) Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator(). Parameters (none). Return value (none). Complexity Constant.