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

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

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

Public Member Functions

 optional_move_base ()=default
 
 optional_move_base (const optional_move_base &rhs)=default
 
 optional_move_base (optional_move_base &&rhs) noexcept(std::is_nothrow_move_constructible< T >::value)
 
optional_move_baseoperator= (const optional_move_base &rhs)=default
 
optional_move_baseoperator= (optional_move_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_move_base< T, false >

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

Constructor & Destructor Documentation

◆ optional_move_base() [1/3]

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

◆ optional_move_base() [2/3]

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

◆ optional_move_base() [3/3]

template<class T >
tl::detail::optional_move_base< T, false >::optional_move_base ( optional_move_base< T, false > && rhs)
inlinenoexcept

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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