proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
tl::detail::optional_copy_base< T, false > Struct Template Reference

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

Inheritance diagram for tl::detail::optional_copy_base< T, false >:
[legend]
Collaboration diagram for tl::detail::optional_copy_base< T, false >:
[legend]

Public Member Functions

 optional_copy_base ()=default
 
 optional_copy_base (const optional_copy_base &rhs)
 
 optional_copy_base (optional_copy_base &&rhs)=default
 
optional_copy_baseoperator= (const optional_copy_base &rhs)=default
 
optional_copy_baseoperator= (optional_copy_base &&rhs)=default
 
- Public Member Functions inherited from tl::detail::optional_operations_base< T >
void hard_reset () noexcept
 
template<class... Args>
void construct (Args &&... args)
 
template<class Opt >
void assign (Opt &&rhs)
 
bool has_value () const
 
TL_OPTIONAL_11_CONSTEXPR T & get () &
 
TL_OPTIONAL_11_CONSTEXPR const T & get () const &
 
TL_OPTIONAL_11_CONSTEXPR T && get () &&
 
constexpr const T && get () const &&
 
- Public Member Functions inherited from tl::detail::optional_storage_base< T, bool >
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 ()
 

Additional Inherited Members

- Public Attributes inherited from tl::detail::optional_storage_base< T, bool >
union { 
 
   dummy   m_dummy 
 
   T   m_value 
 
};  
 
bool m_has_value
 

Detailed Description

template<class T>
struct tl::detail::optional_copy_base< T, false >

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

Constructor & Destructor Documentation

◆ optional_copy_base() [1/3]

template<class T >
tl::detail::optional_copy_base< T, false >::optional_copy_base ( )
default

◆ optional_copy_base() [2/3]

template<class T >
tl::detail::optional_copy_base< T, false >::optional_copy_base ( const optional_copy_base< T, false > & rhs)
inline

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

◆ optional_copy_base() [3/3]

template<class T >
tl::detail::optional_copy_base< T, false >::optional_copy_base ( optional_copy_base< T, false > && rhs)
default

Member Function Documentation

◆ operator=() [1/2]

template<class T >
optional_copy_base & tl::detail::optional_copy_base< T, false >::operator= ( const optional_copy_base< T, false > & rhs)
default

◆ operator=() [2/2]

template<class T >
optional_copy_base & tl::detail::optional_copy_base< T, false >::operator= ( optional_copy_base< T, false > && rhs)
default

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