ATOMIC_VAR_INIT

Defined in header <atomic> #define ATOMIC_VAR_INIT(value) /* implementation-defined */ Expands to an expression which can be used to initialize an std::atomic object that can be initialized from value. If the atomic object has static storage duration, this initialization is constant initialization. Notes Accessing the variable during initialization from another thread, even through an atomic operation, is a data race (it may happen if the address is immediately passed to

std::allocator::destroy

Defined in header <memory> void destroy( pointer p ); (until C++11) template< class U > void destroy( U* p ); (since C++11) Calls the destructor of the object pointed to by p. 1) Calls ((T*)p)->~T() 2) Calls p->~U() Parameters p - pointer to the object that is going to be destroyed Return value (none). See also destroy [static] destructs an object stored in the allocated storage (function template)

operators (std::thread::id)

bool operator==( thread::id lhs, thread::id rhs ); (1) (since C++11) bool operator!=( thread::id lhs, thread::id rhs ); (2) (since C++11) bool operator<( thread::id lhs, thread::id rhs ); (3) (since C++11) bool operator<=( thread::id lhs, thread::id rhs ); (4) (since C++11) bool operator>( thread::id lhs, thread::id rhs ); (5) (since C++11) bool operator>=( thread::id lhs, thread::id rhs ); (6) (since C++11) Compares two thread identifiers. 1-2

std::atomic_flag::atomic_flag

Defined in header <atomic> atomic_flag(); (1) (since C++11) atomic_flag( const atomic_flag& ) = delete; (2) (since C++11) Constructs a new std::atomic_flag. 1) Trivial default constructor, initializes std::atomic_flag to unspecified state. 2) The copy constructor is deleted; std::atomic_flag is not copyable. In addition, std::atomic_flag can be value-initialized to clear state with the expression ATOMIC_FLAG_INIT. For an atomic_flag with static storage duration, t

std::deque::shrink_to_fit

void shrink_to_fit(); (since C++11) Requests the removal of unused capacity. It is a non-binding request to reduce capacity to size(). It depends on the implementation if the request is fulfilled. All iterators and references are potentially invalidated. Past-the-end iterator is also potentially invalidated. Parameters (none). Type requirements - T must meet the requirements of MoveInsertable. Return value (none). Complexity At most linear in the size of the container.

std::iswxdigit

Defined in header <cwctype> int iswxdigit( wint_t ch ); Checks if the given wide character corresponds (if narrowed) to a hexadecimal numeric character, i.e. one of 0123456789abcdefABCDEF. Parameters ch - wide character Return value Non-zero value if the wide character is a hexadecimal numeric character, zero otherwise. Notes std::iswdigit and std::iswxdigit are the only standard wide character classification functions that are not affected by the currently

std::tmpfile

Defined in header <cstdio> std::FILE* tmpfile(); Creates and opens a temporary file with unique auto-generated filename. The file is opened as binary file for update (as by std::fopen with access mode "wb+"). At least TMP_MAX files may be opened during the lifetime of a program (this limit may be shared with std::tmpnam and may be further limited by FOPEN_MAX). If the program closes the file, e.g. by executing std::fclose, the file is automatically deleted. If the program t

std::poisson_distribution::mean

double mean() const; (since C++11) Returns the μ parameter the distribution was constructed with. The parameter defines mean number of occurrences of the event. The default value is 1.0. Parameters (none). Return value Floating point value identifying the μ distribution parameter. See also param gets or sets the distribution parameter object (public member function)

Array declaration

Declares an object of array type. Syntax An array declaration is any simple declaration whose declarator has the form. noptr-declarator [ constexpr(optional) ] attr(optional) (1) noptr-declarator - any valid declarator, but if it begins with *, &, or &&, it has to be surrounded by parentheses. attr(C++11) - optional list of attributes constexpr - an integral constant expression (until C++14)a converted constant expression of type std::size_t (since C++14)

std::deque::assign

void assign( size_type count, const T& value ); (1) template< class InputIt > void assign( InputIt first, InputIt last ); (2) void assign( std::initializer_list<T> ilist ); (3) (since C++11) Replaces the contents of the container. 1) Replaces the contents with count copies of value value 2) Replaces the contents with copies of those in the range [first, last). This overload has the same effect as overload (1) if InputIt is an integral type. (until C++11) T