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 T && get () &&
 
const SOL_TL_OPTIONAL_11_CONSTEXPR T & get () const &
 
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 4973 of file sol.hpp.

Member Function Documentation

◆ assign()

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

Definition at line 4988 of file sol.hpp.

◆ construct()

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

Definition at line 4982 of file sol.hpp.

◆ get() [1/4]

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

Definition at line 5008 of file sol.hpp.

◆ get() [2/4]

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

Definition at line 5014 of file sol.hpp.

◆ get() [3/4]

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

Definition at line 5011 of file sol.hpp.

◆ get() [4/4]

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

Definition at line 5018 of file sol.hpp.

◆ hard_reset()

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

Definition at line 4976 of file sol.hpp.

◆ has_value()

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

Definition at line 5004 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:32