Eigen::internal::ref_selector< T > Struct Template Reference

#include <XprHelper.h>

Public Types

typedef std::conditional_t< bool(traits< T >::Flags &NestByRefBit), T const &, const Ttype
 
typedef std::conditional_t< bool(traits< T >::Flags &NestByRefBit), T &, Tnon_const_type
 

Detailed Description

template<typename T>
struct Eigen::internal::ref_selector< T >

The reference selector for template expressions. The idea is that we don't need to use references for expressions since they are light weight proxy objects which should generate no copying overhead.

Member Typedef Documentation

◆ non_const_type

template<typename T >
typedef std::conditional_t<bool(traits<T>::Flags& NestByRefBit), T&, T> Eigen::internal::ref_selector< T >::non_const_type

◆ type

template<typename T >
typedef std::conditional_t<bool(traits<T>::Flags& NestByRefBit), T const&, const T> Eigen::internal::ref_selector< T >::type

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