proxsuite-nlp  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
Loading...
Searching...
No Matches
proxsuite::nlp::python::OwningNonOwningHolder< Value > Struct Template Reference

#include </home/runner/work/proxsuite-nlp/proxsuite-nlp/bindings/python/include/proxsuite-nlp/python/polymorphic.hpp>

Inheritance diagram for proxsuite::nlp::python::OwningNonOwningHolder< Value >:
[legend]
Collaboration diagram for proxsuite::nlp::python::OwningNonOwningHolder< Value >:
[legend]

Public Types

typedef Value held_type
 
typedef Value value_type
 

Public Member Functions

template<typename... Args>
 OwningNonOwningHolder (PyObject *self, Args... args)
 

Public Attributes

std::variant< Value, Value * > m_held
 

Detailed Description

template<typename Value>
struct proxsuite::nlp::python::OwningNonOwningHolder< Value >

Definition at line 108 of file polymorphic.hpp.

Member Typedef Documentation

◆ held_type

template<typename Value >
typedef Value proxsuite::nlp::python::OwningNonOwningHolder< Value >::held_type

Definition at line 109 of file polymorphic.hpp.

◆ value_type

template<typename Value >
typedef Value proxsuite::nlp::python::OwningNonOwningHolder< Value >::value_type

Definition at line 110 of file polymorphic.hpp.

Constructor & Destructor Documentation

◆ OwningNonOwningHolder()

template<typename Value >
template<typename... Args>
proxsuite::nlp::python::OwningNonOwningHolder< Value >::OwningNonOwningHolder ( PyObject * self,
Args... args )
inline

Definition at line 122 of file polymorphic.hpp.

Member Data Documentation

◆ m_held

template<typename Value >
std::variant<Value, Value *> proxsuite::nlp::python::OwningNonOwningHolder< Value >::m_held

Definition at line 148 of file polymorphic.hpp.


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