proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::linalg::veg::Ref< T > Struct Template Reference

#include <proxsuite/linalg/veg/ref.hpp>

Inheritance diagram for proxsuite::linalg::veg::Ref< T >:
[legend]
Collaboration diagram for proxsuite::linalg::veg::Ref< T >:
[legend]

Public Member Functions

VEG_NODISCARD VEG_INLINE constexpr auto get () const noexcept -> T const &
 
VEG_NODISCARD VEG_INLINE constexpr auto operator* () const noexcept -> T const &
 
VEG_NODISCARD VEG_INLINE constexpr auto operator-> () const noexcept -> T const *
 

Friends

struct nb::ref
 

Detailed Description

template<typename T>
struct proxsuite::linalg::veg::Ref< T >

Definition at line 29 of file ref.hpp.

Member Function Documentation

◆ get()

template<typename T >
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Ref< T >::get ( ) const -> T const&
inlineconstexprnoexcept

Definition at line 41 of file ref.hpp.

◆ operator*()

template<typename T >
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Ref< T >::operator* ( ) const -> T const&
inlineconstexprnoexcept

Definition at line 45 of file ref.hpp.

◆ operator->()

template<typename T >
VEG_NODISCARD VEG_INLINE constexpr auto proxsuite::linalg::veg::Ref< T >::operator-> ( ) const -> T const*
inlineconstexprnoexcept

Definition at line 49 of file ref.hpp.

Friends And Related Symbol Documentation

◆ nb::ref

template<typename T >
friend struct nb::ref
friend

Definition at line 38 of file ref.hpp.


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