| sparrow 1.3.0
    | 
A holder class that wraps a value and provides storage management. More...
#include <u8_buffer.hpp>
| Public Types | |
| using | inner_type = T | 
| Public Member Functions | |
| template<class... Args> | |
| constexpr | holder (Args &&... args) noexcept | 
| Constructs a holder with the given arguments forwarded to the wrapped value. | |
| constexpr T | extract_storage () &&noexcept | 
| Extracts the storage by moving the wrapped value. | |
| constexpr const T & | storage () const noexcept | 
| Gets a constant reference to the storage. | |
| constexpr T & | storage () noexcept | 
| Gets a reference to the storage. | |
| constexpr void | assign (T &&other) | 
| Assigns a new value to the storage. | |
| Public Attributes | |
| T | value | 
A holder class that wraps a value and provides storage management.
| T | The type of the value to hold. | 
Definition at line 36 of file u8_buffer.hpp.
| using sparrow::detail::holder< T >::inner_type = T | 
Definition at line 40 of file u8_buffer.hpp.
| 
 | inlineconstexprnoexcept | 
Constructs a holder with the given arguments forwarded to the wrapped value.
| Args | The argument types. | 
| args | Arguments to forward to the value constructor. | 
Definition at line 49 of file u8_buffer.hpp.
| 
 | inlineconstexpr | 
Assigns a new value to the storage.
| other | The value to assign. | 
Definition at line 91 of file u8_buffer.hpp.
| 
 | inlinenodiscardconstexprnoexcept | 
Extracts the storage by moving the wrapped value.
Definition at line 61 of file u8_buffer.hpp.
| 
 | inlinenodiscardconstexprnoexcept | 
Gets a constant reference to the storage.
Definition at line 71 of file u8_buffer.hpp.
| 
 | inlinenodiscardconstexprnoexcept | 
Gets a reference to the storage.
Definition at line 81 of file u8_buffer.hpp.
| T sparrow::detail::holder< T >::value | 
Definition at line 54 of file u8_buffer.hpp.