libstdc++
throw_allocator.h File Reference

Go to the source code of this file.

Classes

struct  __gnu_cxx::limit_condition::always_adjustor
 
struct  __gnu_cxx::random_condition::always_adjustor
 
struct  __gnu_cxx::annotate_base
 
struct  __gnu_cxx::condition_base
 
struct  __gnu_cxx::forced_error
 
struct  __gnu_cxx::random_condition::group_adjustor
 
struct  std::hash< __gnu_cxx::throw_value_limit >
 
struct  std::hash< __gnu_cxx::throw_value_random >
 
struct  __gnu_cxx::limit_condition::limit_adjustor
 
struct  __gnu_cxx::limit_condition
 
struct  __gnu_cxx::random_condition::never_adjustor
 
struct  __gnu_cxx::limit_condition::never_adjustor
 
struct  __gnu_cxx::random_condition
 
class  __gnu_cxx::throw_allocator_base< _Tp, _Cond >
 
struct  __gnu_cxx::throw_allocator_limit< _Tp >
 
struct  __gnu_cxx::throw_allocator_random< _Tp >
 
struct  __gnu_cxx::throw_value_base< _Cond >
 
struct  __gnu_cxx::throw_value_limit
 
struct  __gnu_cxx::throw_value_random
 

Namespaces

 __gnu_cxx
 
 std
 

Functions

void __gnu_cxx::__throw_forced_error ()
 
template<typename _Cond >
throw_value_base< _Cond > __gnu_cxx::operator* (const throw_value_base< _Cond > &__a, const throw_value_base< _Cond > &__b)
 
template<typename _Cond >
throw_value_base< _Cond > __gnu_cxx::operator+ (const throw_value_base< _Cond > &__a, const throw_value_base< _Cond > &__b)
 
template<typename _Cond >
throw_value_base< _Cond > __gnu_cxx::operator- (const throw_value_base< _Cond > &__a, const throw_value_base< _Cond > &__b)
 
template<typename _Cond >
bool __gnu_cxx::operator< (const throw_value_base< _Cond > &__a, const throw_value_base< _Cond > &__b)
 
std::ostream__gnu_cxx::operator<< (std::ostream &os, const annotate_base &__b)
 
template<typename _Tp , typename _Cond >
bool __gnu_cxx::operator== (const throw_allocator_base< _Tp, _Cond > &, const throw_allocator_base< _Tp, _Cond > &)
 
template<typename _Cond >
bool __gnu_cxx::operator== (const throw_value_base< _Cond > &__a, const throw_value_base< _Cond > &__b)
 
template<typename _Cond >
void __gnu_cxx::swap (throw_value_base< _Cond > &__a, throw_value_base< _Cond > &__b)
 

Detailed Description

This file is a GNU extension to the Standard C++ Library.

Contains two exception-generating types (throw_value, throw_allocator) intended to be used as value and allocator types while testing exception safety in templatized containers and algorithms. The allocator has additional log and debug features. The exception generated is of type forced_exception_error.

Definition in file throw_allocator.h.