std::bad_cast::bad_cast

bad_cast(); Constructs new std::bad_cast object. The contents of the byte string returned by what() are implementation defined. Parameters (none). Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11)

std::random_device::max

static constexpr result_type max(); (since C++11) Returns the maximum value potentially generated by the random-number engine. Parameters (none). Return value The maximum potentially generated value. Complexity Constant. See also min [static] gets the smallest possible value in the output range (public static member function)

std::regex_constants::error_type

Defined in header <regex> typedef /*implementation defined*/ error_type; (since C++11) constexpr error_type error_collate = /*unspecified*/; constexpr error_type error_ctype = /*unspecified*/; constexpr error_type error_escape = /*unspecified*/; constexpr error_type error_backref = /*unspecified*/; constexpr error_type error_brack = /*unspecified*/; constexpr error_type error_paren = /*unspecified*/; constexpr error_type error_brace = /*unspecified*/; constexpr error_type er

std::exception

Defined in header <exception> class exception; Provides consistent interface to handle errors through the throw expression. All exceptions generated by the standard library inherit from std::exception. logic_error invalid_argument domain_error length_error out_of_range future_error(C++11) runtime_error range_error overflow_error underflow_error regex_error(C++11) system_error(C++11) ios_base::failure(since C++11) bad_typeid bad_cast bad_weak_pt

std::discard_block_engine

Defined in header <random> template< class Engine, size_t P, size_t R > class discard_block_engine; (since C++11) discard_block_engine is a pseudo-random number generator adapter that discards a certain amount of data produced by the base engine. From each block of size P generated by the base engine, the adaptor keeps only R numbers, discarding the rest. Template parameters Engine - the type of the wrapped engine P - the size of a block. Must b

std::array::empty

constexpr bool empty(); (since C++11) (until C++14) constexpr bool empty() const; (since C++14) Checks if the container has no elements, i.e. whether begin() == end(). Parameters (none). Return value true if the container is empty, false otherwise. Exceptions noexcept specification: noexcept Complexity Constant. Example The following code uses empty to check if a std::array contains any elements: #include <array> #include <iostream> int main() {

operators (std::unique_ptr)

template<class T1, class D1, class T2, class D2> bool operator==(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y); (1) (since C++11) template<class T1, class D1, class T2, class D2> bool operator!=(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y); (2) (since C++11) template<class T1, class D1, class T2, class D2> bool operator<(const unique_ptr<T1, D1>& x, const unique_ptr<T2, D2>& y)

std::error_category::message

virtual std::string message( int condition ) const = 0; (since C++11) Returns a string describing the given error condition for the error category represented by *this. Parameters condition - specifies the error condition to describe Return value A string describing the given error condition. Exceptions (none).

std::forward_list::sort

void sort(); (1) (since C++11) template< class Compare > void sort( Compare comp ); (2) (since C++11) Sorts the elements in ascending order. The order of equal elements is preserved. The first version uses operator< to compare the elements, the second version uses the given comparison function comp. Parameters comp - comparison function object (i.e. an object that satisfies the requirements of Compare) which returns ​true if the first argument is less than (i.e.

std::basic_streambuf::pbump

void pbump( int count ); Repositions the put pointer (pptr()) by count characters, where count may be positive or negative. No checks are done for moving the pointer outside the put area [pbase(), epptr()). If the pointer is advanced and then overflow() is called to flush the put area to the associated character sequence, the effect is that extra count characters with undefined values are output. Parameters count - number to add to the put pointer Return value (none). Ex