proxsuite 0.7.2
The Advanced Proximal Optimization Toolbox
 
Loading...
Searching...
No Matches
tl::detail::optional_storage_base< T, true > Struct Template Reference

#include <proxsuite/helpers/tl-optional.hpp>

Collaboration diagram for tl::detail::optional_storage_base< T, true >:
[legend]

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)
 
TL_OPTIONAL_11_CONSTEXPR optional_storage_base () noexcept
 
TL_OPTIONAL_11_CONSTEXPR optional_storage_base (in_place_t, U &&... u)
 
 ~optional_storage_base ()
 

Public Attributes

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

Detailed Description

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

Definition at line 467 of file tl-optional.hpp.

Constructor & Destructor Documentation

◆ optional_storage_base() [1/4]

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

Definition at line 469 of file tl-optional.hpp.

◆ optional_storage_base() [2/4]

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 476 of file tl-optional.hpp.

◆ optional_storage_base() [3/4]

TL_OPTIONAL_11_CONSTEXPR tl::detail::optional_storage_base< T, bool >::optional_storage_base ( )
inlinenoexcept

Definition at line 433 of file tl-optional.hpp.

◆ optional_storage_base() [4/4]

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

Definition at line 440 of file tl-optional.hpp.

◆ ~optional_storage_base()

Definition at line 446 of file tl-optional.hpp.

Member Data Documentation

◆ m_dummy [1/2]

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

Definition at line 488 of file tl-optional.hpp.

◆ m_value [1/2]

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

Definition at line 489 of file tl-optional.hpp.

◆ []

union tl::detail::optional_storage_base< T, true > { ... } tl::detail::optional_storage_base< T, true >

◆ m_has_value [1/2]

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

Definition at line 492 of file tl-optional.hpp.

◆ m_dummy [2/2]

Definition at line 458 of file tl-optional.hpp.

◆ m_value [2/2]

T tl::detail::optional_storage_base< T, bool >::m_value

Definition at line 459 of file tl-optional.hpp.

◆ [union]

union { ... } tl::detail::optional_storage_base< T, bool >

◆ m_has_value [2/2]

bool tl::detail::optional_storage_base< T, bool >::m_has_value

Definition at line 462 of file tl-optional.hpp.


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