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

#include <optional.hpp>

Classes

struct  dummy
 

Public Member Functions

TL_OPTIONAL_11_CONSTEXPR optional_storage_base () noexcept
 
template<class... U>
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 tl::detail::optional_storage_base< T, bool >

Definition at line 358 of file 3rdparty/tl/optional.hpp.

Constructor & Destructor Documentation

◆ optional_storage_base() [1/2]

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

Definition at line 359 of file 3rdparty/tl/optional.hpp.

◆ optional_storage_base() [2/2]

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

Definition at line 363 of file 3rdparty/tl/optional.hpp.

◆ ~optional_storage_base()

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

Definition at line 366 of file 3rdparty/tl/optional.hpp.

Member Data Documentation

◆ @1

union { ... }

◆ m_dummy

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

Definition at line 375 of file 3rdparty/tl/optional.hpp.

◆ m_has_value

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

Definition at line 379 of file 3rdparty/tl/optional.hpp.

◆ m_value

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

Definition at line 376 of file 3rdparty/tl/optional.hpp.


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


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20