sparrow 0.6.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 Types

using inner_type = T
 

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 32 of file u8_buffer.hpp.

Member Typedef Documentation

◆ inner_type

template<class T>
using sparrow::detail::holder< T >::inner_type = T

Definition at line 36 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 39 of file u8_buffer.hpp.

Member Function Documentation

◆ assign()

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

Definition at line 61 of file u8_buffer.hpp.

◆ extract_storage()

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

Definition at line 46 of file u8_buffer.hpp.

◆ storage() [1/2]

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

Definition at line 56 of file u8_buffer.hpp.

◆ storage() [2/2]

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

Definition at line 51 of file u8_buffer.hpp.

Member Data Documentation

◆ value

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

Definition at line 44 of file u8_buffer.hpp.


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