35 #ifndef _BLAZE_MATH_TRAITS_ELEMENTSEXPRTRAIT_H_ 36 #define _BLAZE_MATH_TRAITS_ELEMENTSEXPRTRAIT_H_ 75 struct Failure {
using Type = INVALID_TYPE; };
81 struct CompileTime {
using Type = decltype( elements<CEAs...>( std::declval<VT>() ) ); };
87 struct Runtime {
using Type = decltype(
elements( std::declval<VT>()
88 , { std::declval<size_t>() } ) ); };
96 ,
IfTrue_< (
sizeof...( CEAs ) > 0UL )
119 template<
typename VT
typename IfTrue< Condition, T1, T2 >::Type IfTrue_
Auxiliary alias declaration for the IfTrue class template.The IfTrue_ alias declaration provides a co...
Definition: If.h:109
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the If class template.
decltype(auto) elements(Vector< VT, TF > &vector, REAs... args)
Creating a view on a selection of elements of the given vector.
Definition: Elements.h:134
Header file for the IsVector type trait.
Header file for all forward declarations for views.
Utility type for generic codes.
typename ElementsExprTrait< VT, CEAs... >::Type ElementsExprTrait_
Auxiliary alias declaration for the ElementsExprTrait type trait.The ElementsExprTrait_ alias declara...
Definition: ElementsExprTrait.h:121
typename If< T1, T2, T3 >::Type If_
Auxiliary alias declaration for the If class template.The If_ alias declaration provides a convenient...
Definition: If.h:154
Header file for the RemoveReference type trait.
Evaluation of the expression type type of an elements operation.Via this type trait it is possible to...
Definition: ElementsExprTrait.h:70