fiber
Loading...
Searching...
No Matches
fiber::AllocationFailure Class Reference

#include <Exceptions.hpp>

Inheritance diagram for fiber::AllocationFailure:
fiber::Exception

Public Member Functions

 AllocationFailure (std::size_t to_allocate, std::size_t buffer_size, std::size_t largest_free)
 
virtual void print (OStream &stream) const final
 
- Public Member Functions inherited from fiber::Exception
 Exception ()
 
 Exception (const char *what)
 
constexpr const char * type () const noexcept
 
const char * what () const noexcept final
 

Public Attributes

const std::size_t to_allocate
 
const std::size_t buffer_size
 
const std::size_t largest_free
 

Additional Inherited Members

- Protected Member Functions inherited from fiber::Exception
 Exception (const char *type, const char *what)
 Constructor for classes that derive from Exception.
 

Constructor & Destructor Documentation

◆ AllocationFailure()

fiber::AllocationFailure::AllocationFailure ( std::size_t to_allocate,
std::size_t buffer_size,
std::size_t largest_free )
inline

Member Function Documentation

◆ print()

void fiber::AllocationFailure::print ( OStream & stream) const
finalvirtual

Reimplemented from fiber::Exception.

Member Data Documentation

◆ buffer_size

const std::size_t fiber::AllocationFailure::buffer_size

◆ largest_free

const std::size_t fiber::AllocationFailure::largest_free

◆ to_allocate

const std::size_t fiber::AllocationFailure::to_allocate

The documentation for this class was generated from the following files: