WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
error.hpp File Reference

The exception classes. More...

#include <cstddef>
#include <new>
#include "config.hpp"

Go to the source code of this file.

Classes

struct  wpi::memory::allocator_info
 Contains information about an allocator. More...
 
class  wpi::memory::out_of_memory
 The exception class thrown when a low level allocator runs out of memory. More...
 
class  wpi::memory::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  wpi::memory::bad_allocation_size
 The exception class thrown when an allocation size is bigger than the supported maximum. More...
 
class  wpi::memory::bad_node_size
 The exception class thrown when the node size exceeds the supported maximum, i.e. More...
 
class  wpi::memory::bad_array_size
 The exception class thrown when the array size exceeds the supported maximum, i.e. More...
 
class  wpi::memory::bad_alignment
 The exception class thrown when the alignment exceeds the supported maximum, i.e. More...
 

Namespaces

namespace  wpi
 Foonathan namespace.
 
namespace  wpi::memory
 Memory namespace.
 
namespace  wpi::memory::detail
 

Functions

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

Detailed Description

The exception classes.