OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Embedded< T > Class Template Reference

#include <Embedded.h>

Public Member Functions

template<class... Args>
 Embedded (Args &&...args)
 
T & get ()
 
const T & get () const
 

Private Attributes

_data
 

Detailed Description

template<class T>
class Embedded< T >

Base class implementing the base-from-member idiom.

Template Parameters
TStored type.

Constructor & Destructor Documentation

◆ Embedded()

template<class T >
template<class... Args>
Embedded< T >::Embedded ( Args &&...  args)
inlineexplicit

Member Function Documentation

◆ get() [1/2]

template<class T >
T & Embedded< T >::get ( )
inline

◆ get() [2/2]

template<class T >
const T & Embedded< T >::get ( ) const
inline

Member Data Documentation

◆ _data

template<class T >
T Embedded< T >::_data
private

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