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

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

Inheritance diagram for xyz::detail::control_block< T, A >:
[legend]

Public Types

using allocator_traits = std::allocator_traits<A>
 

Public Member Functions

virtual ~control_block ()=default
 
virtual void destroy (A &alloc)=0
 
virtual control_block< T, A > * clone (const A &alloc)=0
 
virtual control_block< T, A > * move (const A &alloc)=0
 

Public Attributes

allocator_traits::pointer p_
 

Detailed Description

template<class T, class A>
struct xyz::detail::control_block< T, A >

Definition at line 94 of file polymorphic_cxx14.hpp.

Member Typedef Documentation

◆ allocator_traits

template<class T , class A >
using xyz::detail::control_block< T, A >::allocator_traits = std::allocator_traits<A>

Definition at line 95 of file polymorphic_cxx14.hpp.

Constructor & Destructor Documentation

◆ ~control_block()

template<class T , class A >
virtual xyz::detail::control_block< T, A >::~control_block ( )
virtualdefault

Member Function Documentation

◆ destroy()

template<class T , class A >
virtual void xyz::detail::control_block< T, A >::destroy ( A & alloc)
pure virtual

◆ clone()

template<class T , class A >
virtual control_block< T, A > * xyz::detail::control_block< T, A >::clone ( const A & alloc)
pure virtual

◆ move()

template<class T , class A >
virtual control_block< T, A > * xyz::detail::control_block< T, A >::move ( const A & alloc)
pure virtual

Member Data Documentation

◆ p_

template<class T , class A >
allocator_traits::pointer xyz::detail::control_block< T, A >::p_

Definition at line 97 of file polymorphic_cxx14.hpp.


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