sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::detail::holder< T > Class Template Reference

#include <u8_buffer.hpp>

Collaboration diagram for sparrow::detail::holder< T >:
[legend]

Public Member Functions

template<class... Args>
 holder (Args &&... args)
 
extract_storage () &&
 
const T & storage () const
 
T & storage ()
 
void assign (T &&other)
 

Public Attributes

value
 

Detailed Description

template<class T>
class sparrow::detail::holder< T >

Definition at line 30 of file u8_buffer.hpp.

Constructor & Destructor Documentation

◆ holder()

template<class T>
template<class... Args>
sparrow::detail::holder< T >::holder ( Args &&... args)
inline

Definition at line 35 of file u8_buffer.hpp.

Member Function Documentation

◆ assign()

template<class T>
void sparrow::detail::holder< T >::assign ( T && other)
inline

Definition at line 57 of file u8_buffer.hpp.

◆ extract_storage()

template<class T>
T sparrow::detail::holder< T >::extract_storage ( ) &&
inlinenodiscard

Definition at line 42 of file u8_buffer.hpp.

◆ storage() [1/2]

template<class T>
T & sparrow::detail::holder< T >::storage ( )
inlinenodiscard

Definition at line 52 of file u8_buffer.hpp.

◆ storage() [2/2]

template<class T>
const T & sparrow::detail::holder< T >::storage ( ) const
inlinenodiscard

Definition at line 47 of file u8_buffer.hpp.

Member Data Documentation

◆ value

template<class T>
T sparrow::detail::holder< T >::value

Definition at line 40 of file u8_buffer.hpp.


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