std::error_code::default_error_condition

std::error_condition default_error_condition() const; (since C++11) Returns the default error condition for the current error value. Equivalent to category().default_error_condition(value()). Parameters (none). Return value The default error condition for the current error value. Exceptions noexcept specification: noexcept

std::atomic_signal_fence

Defined in header <atomic> extern "C" void atomic_signal_fence( std::memory_order order ); (since C++11) Establishes memory synchronization ordering of non-atomic and relaxed atomic accesses, as instructed by order, between a thread and a signal handler executed on the same thread. This is equivalent to std::atomic_thread_fence, except no CPU instructions for memory ordering are issued. Only reordering of the instructions by the compiler is suppressed as order instructs. Fo

std::multimap::key_comp

key_compare key_comp() const; Returns the function object that compares the keys, which is a copy of this container's constructor argument comp. Parameters (none). Return value The key comparison function object. Complexity Constant. See also value_comp returns the function that compares keys in objects of type value_type (public member function)

std::fpos::state

State state() const; (1) void state( State st ); (2) Manages the file position state. 1) Returns the value of the file position state 2) Replaces the file position state with the value of st. For the specializations of std::fpos that are used in the standard library, State is always std::mbstate_t. Parameters st - new value for the state Return value 1) the current value of the fpos state 2) (none) Example #include <iostream> #include <sstream> #

operators (std::poisson_distribution)

template< class CharT, class Traits, class ResultType > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, const poisson_distribution<ResultType>& d ); (1) template< class CharT, class Traits, class ResultType > std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist,

std::error_category

Defined in header <system_error> class error_category; (since C++11) std::error_category serves as the base class for specific error category types, such as std::system_category, std::iostream_category, etc. Each specific category class defines the error_code - error_condition mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference. Member functions (constructor) construc

std::mersenne_twister_engine::mersenne_twister_engine

explicit mersenne_twister_engine( result_type value = default_seed ); (1) (since C++11) template< class Sseq > explicit mersenne_twister_engine( Sseq& s ); (2) (since C++11) mersenne_twister_engine( const mersenne_twister_engine& ); (3) (since C++11) (implicitly declared) Constructs the pseudo-random number engine. The overload (2) only participate in overload resolution if Sseq qualifies as a SeedSequence. In particular, it is excluded from the set of candida

std::max_align_t

Defined in header <cstddef> typedef /*implementation-defined*/ max_align_t; (since C++11) std::max_align_t is a POD type whose alignment requirement is at least as strict (as large) as that of every scalar type. Notes Pointers returned by allocation functions such as std::malloc are suitably aligned for any object, which means they are aligned at least as strict as std::max_align_t. std::max_align_t is usually synonymous with the largest scalar type, which is long double

deque

This header is part of the containers library. Classes deque double-ended queue (class template) Functions operator==operator!=operator<operator<=operator>operator>= lexicographically compares the values in the deque (function template) std::swap(std::deque) specializes the std::swap algorithm (function template) Synopsis namespace std { #include <initializer_list> template <class T, class Allocator = allocator<T> > class de

assert

Defined in header <cassert> #ifdef NDEBUG #define assert(condition) ((void)0) #else #define assert(condition) /*implementation defined*/ #endif The definition of the macro assert depends on another macro, NDEBUG, which is not defined by the standard library. If NDEBUG is defined as a macro name at the point in the source code where <cassert> is included, then assert does nothing. If NDEBUG is not defined, then assert checks if its argument (which must have scalar type