guanaqo main
Utilities for scientific software
Loading...
Searching...
No Matches
guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator Struct Reference

Detailed Description

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
struct guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator

Deallocates the storage when destroyed.

Definition at line 557 of file type-erasure.hpp.

Collaboration diagram for guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator:

Public Member Functions

 Deallocator (TypeErased *instance) noexcept
 Deallocator (const Deallocator &)=delete
Deallocatoroperator= (const Deallocator &)=delete
 Deallocator (Deallocator &&o) noexcept
Deallocatoroperator= (Deallocator &&) noexcept=delete
void release () noexcept
 ~Deallocator ()

Public Attributes

TypeErasedinstance

Constructor & Destructor Documentation

◆ Deallocator() [1/3]

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::Deallocator ( TypeErased * instance)
inlinenoexcept

Definition at line 559 of file type-erasure.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Deallocator() [2/3]

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::Deallocator ( const Deallocator & )
delete
Here is the call graph for this function:

◆ Deallocator() [3/3]

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::Deallocator ( Deallocator && o)
inlinenoexcept

Definition at line 562 of file type-erasure.hpp.

Here is the call graph for this function:

◆ ~Deallocator()

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::~Deallocator ( )
inline

Definition at line 566 of file type-erasure.hpp.

Member Function Documentation

◆ operator=() [1/2]

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
Deallocator & guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::operator= ( const Deallocator & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
Deallocator & guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::operator= ( Deallocator && )
deletenoexcept
Here is the call graph for this function:

◆ release()

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
void guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::release ( )
inlinenoexcept

Definition at line 565 of file type-erasure.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ instance

template<class VTable = BasicVTable, class Allocator = std::allocator<std::byte>, size_t SmallBufferSize = default_te_buffer_size<VTable, Allocator>()>
TypeErased* guanaqo::TypeErased< VTable, Allocator, SmallBufferSize >::Deallocator::instance

Definition at line 558 of file type-erasure.hpp.


The documentation for this struct was generated from the following file: