#include <sol.hpp>

Public Member Functions | |
| template<class Opt > | |
| void | assign (Opt &&rhs) |
| template<class... Args> | |
| void | construct (Args &&... args) noexcept |
| SOL_TL_OPTIONAL_11_CONSTEXPR T & | get () & |
| SOL_TL_OPTIONAL_11_CONSTEXPR const T & | get () const & |
| SOL_TL_OPTIONAL_11_CONSTEXPR T && | get () && |
| constexpr const T && | get () const && |
| void | hard_reset () noexcept |
| bool | has_value () const |
Public Member Functions inherited from sol::detail::optional_storage_base< T > | |
| SOL_TL_OPTIONAL_11_CONSTEXPR | optional_storage_base () noexcept |
| SOL_TL_OPTIONAL_11_CONSTEXPR | optional_storage_base (in_place_t, U &&... u) |
| ~optional_storage_base () | |
Additional Inherited Members | |
Public Attributes inherited from sol::detail::optional_storage_base< T > | |
| union { | |
| dummy m_dummy | |
| T m_value | |
| }; | |
| dummy | m_dummy |
| bool | m_has_value |
| T | m_value |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |