Classes | Public Member Functions | Public Attributes | List of all members
tl::detail::optional_storage_base< T, true > 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)
 

Public Attributes

union tl::detail::optional_storage_base< T, true >:: { ... }  
 
bool m_has_value = false
 
dummy m_dummy
 
m_value
 

Detailed Description

template<class T>
struct tl::detail::optional_storage_base< T, true >

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

Constructor & Destructor Documentation

◆ optional_storage_base() [1/2]

template<class T >
TL_OPTIONAL_11_CONSTEXPR tl::detail::optional_storage_base< T, true >::optional_storage_base ( )
inlinenoexcept

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

◆ optional_storage_base() [2/2]

template<class T >
template<class... U>
TL_OPTIONAL_11_CONSTEXPR tl::detail::optional_storage_base< T, true >::optional_storage_base ( in_place_t  ,
U &&...  u 
)
inline

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

Member Data Documentation

◆ @3

union { ... }

◆ m_dummy

template<class T >
dummy tl::detail::optional_storage_base< T, true >::m_dummy

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

◆ m_has_value

template<class T >
bool tl::detail::optional_storage_base< T, true >::m_has_value = false

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

◆ m_value

template<class T >
T tl::detail::optional_storage_base< T, true >::m_value

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