Eigen::internal::transfer_constness< T1, T2 > Struct Template Reference

#include <XprHelper.h>

Public Types

typedef std::conditional_t< bool(internal::is_const< T1 >::value), add_const_on_value_type_t< T2 >, T2 > type
 

Detailed Description

template<typename T1, typename T2>
struct Eigen::internal::transfer_constness< T1, T2 >

Adds the const qualifier on the value-type of T2 if and only if T1 is a const type

Member Typedef Documentation

◆ type

template<typename T1 , typename T2 >
typedef std::conditional_t<bool(internal::is_const<T1>::value), add_const_on_value_type_t<T2>, T2> Eigen::internal::transfer_constness< T1, T2 >::type

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