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 4232 of file sol.hpp.

Constructor & Destructor Documentation

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 4233 of file sol.hpp.

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 4237 of file sol.hpp.

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

Definition at line 4240 of file sol.hpp.

Member Data Documentation

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

Definition at line 4249 of file sol.hpp.

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

Definition at line 4253 of file sol.hpp.

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

Definition at line 4250 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