std::bad_alloc(3) Library Functions Manual std::bad_alloc(3)NAME
std::bad_alloc -
SYNOPSIS
Inherits std::exception.
Public Member Functions
virtual const char * what () const throw ()
Detailed Description
Exception possibly thrown by new.
bad_alloc (or classes derived from it) is used to report allocation errors from the throwing forms of new.
Definition at line 54 of file new.
Member Function Documentation
virtual const char* std::bad_alloc::what () const [virtual]
Returns a C-style character string describing the general cause of the current error.
Reimplemented from std::exception.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Jun 10 2014 std::bad_alloc(3)
Check Out this Related Man Page
std::type_info(3cxx)std::type_info(3cxx)NAME
std::type_info -
SYNOPSIS
Inherited by __cxxabiv1::__array_type_info, __cxxabiv1::__class_type_info, __cxxabiv1::__enum_type_info, __cxxabiv1::__function_type_info,
__cxxabiv1::__fundamental_type_info, and __cxxabiv1::__pbase_type_info.
Public Member Functions
virtual ~type_info ()
virtual bool __do_catch (const type_info *__thr_type, void **__thr_obj, unsigned __outer) const
virtual bool __do_upcast (const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const
virtual bool __is_function_p () const
virtual bool __is_pointer_p () const
bool before (const type_info &__arg) const
size_t hash_code () const throw ()
const char * name () const
bool operator!= (const type_info &__arg) const
bool operator== (const type_info &__arg) const
Protected Member Functions
type_info (const char *__n)
Protected Attributes
const char * __name
Detailed Description
Part of RTTI.
The type_info class describes type information generated by an implementation.
Definition at line 91 of file typeinfo.
Constructor & Destructor Documentation
virtual std::type_info::~type_info () [virtual]
Destructor first. Being the first non-inline virtual function, this controls in which translation unit the vtable is emitted. The compiler
makes use of that information to know where to emit the runtime-mandated type_info structures in the new-abi.
Member Function Documentation
const char* std::type_info::name () const [inline]
Returns an implementation-defined byte string; this is not portable between compilers!
Definition at line 102 of file typeinfo.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::type_info(3cxx)