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::basic_filebuf

Defined in header <fstream> template< class CharT, class Traits = std::char_traits<CharT> > class basic_filebuf : public std::basic_streambuf<CharT, Traits> std::basic_filebuf is a std::basic_streambuf whose associated character sequence is a file. Both the input sequence and the output sequence are associated with the same file, and a joint file position is maintained for both operations. The functions underflow() and overflow()/sync() perform t

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_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_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_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_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_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_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