Classes | Public Member Functions | Public Attributes | List of all members
sol::detail::optional_storage_base< T, bool > Struct Template Reference

#include <sol.hpp>

Classes

struct  dummy
 

Public Member Functions

SOL_TL_OPTIONAL_11_CONSTEXPR optional_storage_base () noexcept
 
template<class... U>
SOL_TL_OPTIONAL_11_CONSTEXPR optional_storage_base (in_place_t, U &&... u)
 
 ~optional_storage_base ()
 

Public Attributes

union {
   dummy   m_dummy
 
   T   m_value
 
}; 
 
bool m_has_value
 

Detailed Description

template<class T, bool = ::std::is_trivially_destructible<T>::value>
struct sol::detail::optional_storage_base< T, bool >

Definition at line 4925 of file sol.hpp.

Constructor & Destructor Documentation

◆ optional_storage_base() [1/2]

template<class T , bool = ::std::is_trivially_destructible<T>::value>
SOL_TL_OPTIONAL_11_CONSTEXPR sol::detail::optional_storage_base< T, bool >::optional_storage_base ( )
inlinenoexcept

Definition at line 4926 of file sol.hpp.

◆ optional_storage_base() [2/2]

template<class T , bool = ::std::is_trivially_destructible<T>::value>
template<class... U>
SOL_TL_OPTIONAL_11_CONSTEXPR sol::detail::optional_storage_base< T, bool >::optional_storage_base ( in_place_t  ,
U &&...  u 
)
inline

Definition at line 4930 of file sol.hpp.

◆ ~optional_storage_base()

template<class T , bool = ::std::is_trivially_destructible<T>::value>
sol::detail::optional_storage_base< T, bool >::~optional_storage_base ( )
inline

Definition at line 4933 of file sol.hpp.

Member Data Documentation

◆ @29

union { ... }

◆ m_dummy

template<class T , bool = ::std::is_trivially_destructible<T>::value>
dummy sol::detail::optional_storage_base< T, bool >::m_dummy

Definition at line 4942 of file sol.hpp.

◆ m_has_value

template<class T , bool = ::std::is_trivially_destructible<T>::value>
bool sol::detail::optional_storage_base< T, bool >::m_has_value

Definition at line 4946 of file sol.hpp.

◆ m_value

template<class T , bool = ::std::is_trivially_destructible<T>::value>
T sol::detail::optional_storage_base< T, bool >::m_value

Definition at line 4943 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:53