libstdc++
|
Go to the source code of this file.
Classes | |
struct | __gnu_cxx::forced_exception_error |
Thown by throw_allocator. More... | |
class | __gnu_cxx::throw_allocator< T > |
Allocator class with logging and exception control. More... | |
class | __gnu_cxx::throw_allocator_base |
Base class. More... |
Namespaces | |
namespace | __gnu_cxx |
Functions | |
void | __gnu_cxx::__throw_forced_exception_error () |
template<typename T > | |
bool | __gnu_cxx::operator!= (const throw_allocator< T > &, const throw_allocator< T > &) |
std::ostream & | __gnu_cxx::operator<< (std::ostream &os, const throw_allocator_base &alloc) |
template<typename T > | |
bool | __gnu_cxx::operator== (const throw_allocator< T > &, const throw_allocator< T > &) |
This file is a GNU extension to the Standard C++ Library.
Contains an exception-throwing allocator, useful for testing exception safety. In addition, allocation addresses are stored and sanity checked.
Definition in file throw_allocator.h.