Lumiera  0.pre.03
»edit your freedom«
InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB > Struct Template Reference

Description

template<size_t siz, class AccessPolicy = InPlaceAnyHolder_unrelatedTypes>
template<typename SUB>
struct lib::InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB >

concrete subclass to manage a specific kind of contained object.

Note
invariant: #content_ always contains a valid SUB object

Definition at line 244 of file opaque-holder.hpp.

Public Member Functions

 Buff (SUB const &obj)
 
 Buff (Buff const &oBuff)
 
virtual void clone (void *targetStorage) const
 
virtual bool empty () const
 
SUB & get () const
 < core operation: target is contained within the inline buffer
 
virtual BaseP getBase () const
 
virtual bool isValid () const
 
Buffoperator= (Buff const &ref)
 
- Public Member Functions inherited from InPlaceAnyHolder< siz, AccessPolicy >::Buffer
virtual ~Buffer ()
 this is an ABC with VTable
 
void * ptr ()
 

Additional Inherited Members

- Public Attributes inherited from InPlaceAnyHolder< siz, AccessPolicy >::Buffer
std::byte content_ [siz]
 

Member Function Documentation

◆ operator=()

Buff& operator= ( Buff< SUB > const &  ref)
inline
Parameters
refcurrently not used

Definition at line 271 of file opaque-holder.hpp.

References InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB >::get().

+ Here is the call graph for this function:
+ Inheritance diagram for InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB >:
+ Collaboration diagram for InPlaceAnyHolder< siz, AccessPolicy >::Buff< SUB >:

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