memory
Classes | Functions
error.hpp File Reference

Detailed Description

The exception classes.

Classes

struct  allocator_info
 Contains information about an allocator. More...
 
class  out_of_memory
 The exception class thrown when a low level allocator runs out of memory. More...
 
class  out_of_fixed_memory
 A special case of out_of_memory errors thrown when a low-level allocator with a fixed size runs out of memory. More...
 
class  bad_allocation_size
 The exception class thrown when an allocation size is bigger than the supported maximum. More...
 
class  bad_node_size
 The exception class thrown when the node size exceeds the supported maximum, i.e. More...
 
class  bad_array_size
 The exception class thrown when the array size exceeds the supported maximum, i.e. More...
 
class  bad_alignment
 The exception class thrown when the alignment exceeds the supported maximum, i.e. More...
 

Functions

template<class Ex , typename Func >
void check_allocation_size (std::size_t passed, Func f, const allocator_info &info)
 
template<class Ex >
void check_allocation_size (std::size_t passed, std::size_t supported, const allocator_info &info)