noexcept specifier

Specifies whether a function will throw exceptions or not. Syntax noexcept (1) noexcept(expression) (2) 1) Same as noexcept ( true ) 2) If expression evaluates to true, the function is declared to not throw any exceptions. expression - constant expression, contextually convertible to bool Explanation The noexcept-specification (just like dynamic exception specification) can appear as a part of a lambda declarator or a top-level function declarator when declaring f

std::system_error::system_error

system_error( std::error_code ec ); (1) (since C++11) system_error( std::error_code ec, const std::string& what_arg ); (2) (since C++11) system_error( std::error_code ec, const char* what_arg ); (2) (since C++11) system_error( int ev, const std::error_category& ecat ); (3) (since C++11) system_error( int ev, const std::error_category& ecat, const std::string& what_arg); (4) (since C++11) system_error( int ev, const std::error_category

std::setbuf

Defined in header <cstdio> void setbuf( std::FILE* stream, char* buffer ); Sets the internal buffer to use for I/O operations performed on the C stream stream. If buffer is not null, equivalent to std::setvbuf(stream, buffer, _IOFBF, BUFSIZ). If buffer is null, equivalent to std::setvbuf(stream, NULL, _IONBF, 0), which turns off buffering. Parameters stream - the file stream to set the buffer to. buffer - pointer to a buffer for the stream to use. If NULL is s

std::codecvt_utf8_utf16

Defined in header <codecvt> template< class Elem, unsigned long Maxcode = 0x10ffff, std::codecvt_mode Mode = (std::codecvt_mode)0 > class codecvt_utf8_utf16 : public std::codecvt<Elem, char, std::mbstate_t>; std::codecvt_utf8_utf16 is a std::codecvt facet which encapsulates conversion between a UTF-8 encoded byte string and UTF-16 encoded character string. If Elem is a 32-bit type, one UTF-16 codepoint will be stored in each 32-bit character

std::priority_queue::priority_queue

(1) explicit priority_queue( const Compare& compare = Compare(), const Container& cont = Container() ); (until C++11) priority_queue( const Compare& compare, const Container& cont ); (since C++11) explicit priority_queue( const Compare& compare = Compare(), Container&& cont = Container() ); (2) (since C++11) priority_queue( const priority_queue& other ); (3) priority_queue( priority_queue&

OutputIterator

An OutputIterator is an Iterator that can write to the pointed-to element. An example of a type that implements OutputIterator is std::ostream_iterator. When ForwardIterator, BidirectionalIterator, or RandomAccessIterator satisfies the OutputIterator requirements in addition to its own requirements, it is described as mutable. Requirements The type X satisfies OutputIterator if. The type X satisfies Iterator X is a class type or a pointer type And, given. o, a value of some type that

std::list::splice

void splice( const_iterator pos, list& other ); (1) void splice( const_iterator pos, list&& other ); (1) (since C++11) void splice( const_iterator pos, list& other, const_iterator it ); (2) void splice( const_iterator pos, list&& other, const_iterator it ); (2) (since C++11) void splice( const_iterator pos, list& other, const_iterator first, const_iterator last); (3) void splice( const_iterator pos, list&& other,

std::printf

Defined in header <cstdio> int printf( const char* format, ... ); (1) int fprintf( std::FILE* stream, const char* format, ... ); (2) int sprintf( char* buffer, const char* format, ... ); (3) int snprintf( char* buffer, std::size_t buf_size, const char* format, ... ); (4) (since C++11) Loads the data from the given locations, converts them to character string equivalents and writes the results to a variety of sinks. 1) Writes the results to stdout. 2) Wri

ctgmath

This header was originally in the C standard library as <tgmath.h>. This header is part of the numeric library. Includes <ccomplex> <cmath>

std::linear_congruential_engine

Defined in header <random> template< class UIntType, UIntType a, UIntType c, UIntType m > class linear_congruential_engine; (since C++11) linear_congruential_engine is a random number engine based on Linear congruential generator (LCG). A LCG has a state that consists of single integer. The transition algorithm of the LCG function is xi+1 ← (axi+c) mod m. The following typedefs define the random number engine with two commonly used parameter sets: