proxsuite 0.7.2
The Advanced Proximal Optimization Toolbox
 
Loading...
Searching...
No Matches
proxsuite::linalg::veg::_detail::_meta::array_get Struct Reference

#include <proxsuite/linalg/veg/util/get.hpp>

Inheritance diagram for proxsuite::linalg::veg::_detail::_meta::array_get:
[legend]

Public Types

template<typename I, typename T>
using result_type = decltype(VEG_DECLVAL(T&&)[I::value])
 

Static Public Member Functions

template<usize I, typename T>
static VEG_INLINE constexpr auto apply (T &&arr) VEG_NOEXCEPT -> decltype(VEG_FWD(arr)[I])
 

Detailed Description

Definition at line 33 of file get.hpp.

Member Typedef Documentation

◆ result_type

template<typename I, typename T>
using proxsuite::linalg::veg::_detail::_meta::array_get::result_type = decltype(VEG_DECLVAL(T&&)[I::value])

Definition at line 36 of file get.hpp.

Member Function Documentation

◆ apply()

template<usize I, typename T>
static VEG_INLINE constexpr auto proxsuite::linalg::veg::_detail::_meta::array_get::apply ( T && arr) -> decltype(VEG_FWD(arr)[I])
inlinestaticconstexpr

Definition at line 39 of file get.hpp.


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