Public Member Functions | List of all members
sol::detail::optional_operations_base< T > Struct Template Reference

#include <sol.hpp>

Inheritance diagram for sol::detail::optional_operations_base< T >:
Inheritance graph
[legend]

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
 
m_value
 

Detailed Description

template<class T>
struct sol::detail::optional_operations_base< T >

Definition at line 4280 of file sol.hpp.

Member Function Documentation

template<class T>
template<class Opt >
void sol::detail::optional_operations_base< T >::assign ( Opt &&  rhs)
inline

Definition at line 4295 of file sol.hpp.

template<class T>
template<class... Args>
void sol::detail::optional_operations_base< T >::construct ( Args &&...  args)
inlinenoexcept

Definition at line 4289 of file sol.hpp.

template<class T>
SOL_TL_OPTIONAL_11_CONSTEXPR T& sol::detail::optional_operations_base< T >::get ( )
inline

Definition at line 4315 of file sol.hpp.

template<class T>
SOL_TL_OPTIONAL_11_CONSTEXPR const T& sol::detail::optional_operations_base< T >::get ( ) const
inline

Definition at line 4318 of file sol.hpp.

template<class T>
SOL_TL_OPTIONAL_11_CONSTEXPR T&& sol::detail::optional_operations_base< T >::get ( )
inline

Definition at line 4321 of file sol.hpp.

template<class T>
constexpr const T&& sol::detail::optional_operations_base< T >::get ( ) const
inline

Definition at line 4325 of file sol.hpp.

template<class T>
void sol::detail::optional_operations_base< T >::hard_reset ( )
inlinenoexcept

Definition at line 4283 of file sol.hpp.

template<class T>
bool sol::detail::optional_operations_base< T >::has_value ( ) const
inline

Definition at line 4311 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:52