std::basic_filebuf::close

std::basic_filebuf<CharT, Traits>* close(); If a put area exist (e.g. file was opened for writing), first calls overflow(Traits::eof()) to write all pending output to the file, including any unshift sequences. If the most recently called function, out of underflow(), overflow(), seekpos(), and seekoff(), was overflow(), then calls std::codecvt::unshift(), perhaps multiple times, to determine the unshift sequence according to the imbued locale, and writes that sequence to file with

std::basic_filebuf::basic_filebuf

basic_filebuf(); (1) basic_filebuf( const std::basic_filebuf& rhs ) = delete; (2) (since C++11) basic_filebuf( std::basic_filebuf&& rhs ); (3) (since C++11) Contructs new std::basic_filebuf object. 1) Constructs a std::basic_filebuf object, initializing the base class by calling the default constructor of std::basic_streambuf. The created basic_filebuf is not associated with a file, and is_open() returns false. 2) The copy constructor is deleted; std::basic_fil

std::bad_weak_ptr::bad_weak_ptr

bad_weak_ptr(); Constructs new bad_weak_ptr object. what() returns "bad_weak_ptr" afterwards. Parameters (none). Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11)

std::bad_weak_ptr

Defined in header <memory> class bad_weak_ptr; (since C++11) std::bad_weak_ptr is the type of the object thrown as exceptions by the constructors of std::shared_ptr that take std::weak_ptr as the argument, when the std::weak_ptr refers to an already deleted object. Inheritance diagram. Member functions (constructor) constructs the bad_weak_ptr object (public member function) Inherited from std::exception Member functions (destructor) [virtual]

std::bad_function_call

Defined in header <functional> class bad_function_call; (since C++11) std::bad_function_call is the type of the exception thrown by std::function::operator() if the function wrapper has no target. Inheritance diagram. Member functions (constructor) bad_function_call() (public member function) std::bad_function_call::bad_function_call() bad_function_call(); Constructs a new instance of std::bad_function_call. Parameters (none). Exceptions noe

std::bad_typeid

Defined in header <typeinfo> class bad_typeid : public std::exception; An exception of this type is thrown when a typeid operator is applied to a dereferenced null pointer value of a polymorphic type. Inheritance diagram. Member functions (constructor) constructs a new bad_typeid object (public member function) Inherited from std::exception Member functions (destructor) [virtual] destructs the exception object (virtual public member function of

std::bad_exception::what

virtual const char* what() const; Returns the explanatory string. Parameters (none). Return value Pointer to a null-terminated string with explanatory information. Exceptions noexcept specification: noexcept

std::bad_typeid::bad_typeid

bad_typeid(); Constructs new std::bad_typeid 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::bad_exception::bad_exception

bad_exception(); bad_exception( const bad_exception& other ); Constructs new bad_exception object. 1) Default constructor. 2) Copy constructor. Initializes the object with the contents of other. Parameters other - bad_exception object to initialize with Exceptions noexcept specification: noexcept

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