Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
math
traits
TDVecAbsExprTrait.h
Go to the documentation of this file.
1
//=================================================================================================
20
//=================================================================================================
21
22
#ifndef _BLAZE_MATH_TRAITS_TDVECABSEXPRTRAIT_H_
23
#define _BLAZE_MATH_TRAITS_TDVECABSEXPRTRAIT_H_
24
25
26
//*************************************************************************************************
27
// Includes
28
//*************************************************************************************************
29
30
#include <
blaze/math/expressions/Forward.h
>
31
#include <
blaze/math/typetraits/IsDenseVector.h
>
32
#include <
blaze/math/typetraits/IsTransposeVector.h
>
33
#include <
blaze/util/InvalidType.h
>
34
#include <
blaze/util/typetraits/IsConst.h
>
35
#include <
blaze/util/typetraits/IsReference.h
>
36
#include <
blaze/util/typetraits/IsVolatile.h
>
37
#include <
blaze/util/typetraits/RemoveCV.h
>
38
#include <
blaze/util/typetraits/RemoveReference.h
>
39
40
41
namespace
blaze {
42
43
//=================================================================================================
44
//
45
// CLASS DEFINITION
46
//
47
//=================================================================================================
48
49
//*************************************************************************************************
58
template
<
typename
VT >
// Type of the dense vector
59
struct
TDVecAbsExprTrait
60
{
61
private
:
62
//**********************************************************************************************
64
enum
{ qualified =
IsConst<VT>::value
||
IsVolatile<VT>::value
||
IsReference<VT>::value
};
66
//**********************************************************************************************
67
68
//**********************************************************************************************
70
typedef
SelectType< IsDenseVector<VT>::value
&&
IsTransposeVector<VT>::value
71
,
DVecAbsExpr<VT,true>
, INVALID_TYPE > Tmp;
72
73
typedef
typename
RemoveReference< typename RemoveCV<VT>::Type
>::Type Type1;
75
//**********************************************************************************************
76
77
public
:
78
//**********************************************************************************************
80
typedef
typename
SelectType< qualified, TDVecAbsExprTrait<Type1>
, Tmp >::Type::Type Type;
82
//**********************************************************************************************
83
};
84
//*************************************************************************************************
85
86
}
// namespace blaze
87
88
#endif
Generated on Fri May 24 2013 16:39:56 by
1.8.3.1