std::bad_array_new_length

Defined in header <new> class bad_array_new_length; (since C++11) std::bad_array_new_length is the type of the object thrown as exceptions by the new-expressions to report invalid array lengths if. 1) array length is negative. 2) total size of the new array would exceed implementation-defined maximum value. 3) the number of initializer-clauses exceeds the number of elements to initialize. Only the first array dimension may generate this exception; dimensions other than the

std::bad_alloc

Defined in header <new> class bad_alloc; std::bad_alloc is the type of the object thrown as exceptions by the allocation functions to report failure to allocate storage. Inheritance diagram. Member functions (constructor) constructs the bad_alloc object (public member function) operator= replaces a bad_alloc object (public member function) what returns explanatory string (public member function) std::bad_alloc::bad_alloc bad_alloc(); Con

std::bad_exception

Defined in header <exception> class bad_exception; std::bad_exception is the type of the exception thrown by the C++ runtime in the following situations: 1) If a dynamic exception specification is violated and std::unexpected throws or rethrows an exception that still violates the exception specification, but the exception specification allows std::bad_exception, std::bad_exception is thrown. 2) If std::exception_ptr stores a copy of the caught exception and if the copy c

std::bad_array_new_length::bad_array_new_length

bad_array_new_length(); (since C++11) Constructs new bad_array_new_length object with in implementation-defined null-terminated byte string which is accessible through what(). Parameters (none). Exceptions noexcept specification: noexcept

std::bad_cast

Defined in header <typeinfo> class bad_cast : public std::exception; An exception of this type is thrown when a dynamic_cast to a reference type fails the run-time check (e.g. because the types are not related by inheritance), and also from std::use_facet if the requested facet does not exist in the locale. Inheritance diagram. Member functions (constructor) constructs a new bad_cast object (public member function) Inherited from std::exception Member

std::back_insert_iterator::back_insert_iterator

explicit back_insert_iterator( Container& c ); Initializes the underlying pointer to the container to std::addressof(c) . Parameters c - container to initialize the inserter with

std::back_inserter

Defined in header <iterator> template< class Container > std::back_insert_iterator<Container> back_inserter( Container& c ); back_inserter is a convenience function template that constructs a std::back_insert_iterator for the container c with the type deduced from the type of the argument. Parameters c - container that supports a push_back operation Return value A std::back_insert_iterator which can be used to add elements to the end of the con

std::auto_ptr::reset

void reset( T* p = 0 ); (deprecated) Replaces the held pointer by p. If the currently held pointer is not null pointer, delete get() is called. Parameters p - a pointer to an object to manage Return value (none). Exceptions (none). See also release releases ownership of the managed object (public member function)

std::back_insert_iterator

Defined in header <iterator> template< class Container > class back_insert_iterator : public std::iterator< std::output_iterator_tag, void, void, void, void > (until C++17) template< class Container > class back_insert_iterator; (since C++17) std::back_insert_iterator is an OutputIterator that appends to a container for which it was constructed. The container's push_back() member function is called w

std::auto_ptr::release

T* release(); (deprecated) Releases the held pointer. After the call *this holds the null pointer. Parameters (none). Return value get(). Exceptions (none). See also reset destroys the managed object (public member function)