di 0.1.0
Loading...
Searching...
No Matches
di::function::function_ns::ErasedObject< Alloc > Struct Template Reference

#include <di/function/container/function.h>

Public Member Functions

 ErasedObject ()=default
 ErasedObject (ErasedObject const &)=delete
constexpr ErasedObject (ErasedObject &&other)
constexpr ~ErasedObject ()
auto operator= (ErasedObject const &) -> ErasedObject &=delete
constexpr auto operator= (ErasedObject &&other) -> ErasedObject &
constexpr auto empty () const -> bool
constexpr void reset ()
template<typename T>
constexpr auto down_cast () -> T *
template<typename T>
constexpr auto down_cast () const -> T *
template<typename T, typename... Args>
requires (StoredInline<T>)
constexpr void init_inline (Args &&... args)
template<typename T, typename... Args>
constexpr auto init_out_of_line (Args &&... args)

Constructor & Destructor Documentation

◆ ErasedObject() [1/3]

template<concepts::Allocator Alloc>
di::function::function_ns::ErasedObject< Alloc >::ErasedObject ( )
default

◆ ErasedObject() [2/3]

template<concepts::Allocator Alloc>
di::function::function_ns::ErasedObject< Alloc >::ErasedObject ( ErasedObject< Alloc > const & )
delete

◆ ErasedObject() [3/3]

template<concepts::Allocator Alloc>
di::function::function_ns::ErasedObject< Alloc >::ErasedObject ( ErasedObject< Alloc > && other)
inlineconstexpr

◆ ~ErasedObject()

template<concepts::Allocator Alloc>
di::function::function_ns::ErasedObject< Alloc >::~ErasedObject ( )
inlineconstexpr

Member Function Documentation

◆ down_cast() [1/2]

template<concepts::Allocator Alloc>
template<typename T>
auto di::function::function_ns::ErasedObject< Alloc >::down_cast ( ) ->T *
inlineconstexpr

◆ down_cast() [2/2]

template<concepts::Allocator Alloc>
template<typename T>
auto di::function::function_ns::ErasedObject< Alloc >::down_cast ( ) const->T *
inlineconstexpr

◆ empty()

template<concepts::Allocator Alloc>
auto di::function::function_ns::ErasedObject< Alloc >::empty ( ) const->bool
inlineconstexpr

◆ init_inline()

template<concepts::Allocator Alloc>
template<typename T, typename... Args>
requires (StoredInline<T>)
void di::function::function_ns::ErasedObject< Alloc >::init_inline ( Args &&... args)
inlineconstexpr

◆ init_out_of_line()

template<concepts::Allocator Alloc>
template<typename T, typename... Args>
auto di::function::function_ns::ErasedObject< Alloc >::init_out_of_line ( Args &&... args)
inlineconstexpr

◆ operator=() [1/2]

template<concepts::Allocator Alloc>
auto di::function::function_ns::ErasedObject< Alloc >::operator= ( ErasedObject< Alloc > && other) ->ErasedObject &
inlineconstexpr

◆ operator=() [2/2]

template<concepts::Allocator Alloc>
auto di::function::function_ns::ErasedObject< Alloc >::operator= ( ErasedObject< Alloc > const & ) ->ErasedObject &=delete
delete

◆ reset()

template<concepts::Allocator Alloc>
void di::function::function_ns::ErasedObject< Alloc >::reset ( )
inlineconstexpr

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