proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass > Class Template Reference

#include <proxsuite-nlp/third-party/polymorphic_cxx14.hpp>

Inheritance diagram for xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >:
[legend]
Collaboration diagram for xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >:
[legend]

Protected Member Functions

 empty_base_optimization ()=default
 
 empty_base_optimization (const T &t)
 
 empty_base_optimization (T &&t)
 
T & get () noexcept
 
const T & get () const noexcept
 

Protected Attributes

t_
 

Detailed Description

template<class T, bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
class xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >

Definition at line 68 of file polymorphic_cxx14.hpp.

Constructor & Destructor Documentation

◆ empty_base_optimization() [1/3]

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::empty_base_optimization ( )
protecteddefault

◆ empty_base_optimization() [2/3]

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::empty_base_optimization ( const T & t)
inlineprotected

Definition at line 71 of file polymorphic_cxx14.hpp.

◆ empty_base_optimization() [3/3]

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::empty_base_optimization ( T && t)
inlineprotected

Definition at line 72 of file polymorphic_cxx14.hpp.

Member Function Documentation

◆ get() [1/2]

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
T & xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::get ( )
inlineprotectednoexcept

Definition at line 73 of file polymorphic_cxx14.hpp.

◆ get() [2/2]

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
const T & xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::get ( ) const
inlineprotectednoexcept

Definition at line 74 of file polymorphic_cxx14.hpp.

Member Data Documentation

◆ t_

template<class T , bool CanBeEmptyBaseClass = std::is_empty<T>::value && !std::is_final<T>::value>
T xyz::detail::empty_base_optimization< T, CanBeEmptyBaseClass >::t_
protected

Definition at line 75 of file polymorphic_cxx14.hpp.


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