Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
expressions
VecNoAliasExpr.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_EXPRESSIONS_VECNOALIASEXPR_H_
36
#define _BLAZE_MATH_EXPRESSIONS_VECNOALIASEXPR_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/expressions/NoAliasExpr.h
>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
65
template
<
typename
VT >
// Vector base type of the expression
66
struct
VecNoAliasExpr
67
:
public
NoAliasExpr
<VT>
68
{};
69
//*************************************************************************************************
70
71
72
73
74
//=================================================================================================
75
//
76
// GLOBAL RESTRUCTURING FUNCTIONS
77
//
78
//=================================================================================================
79
80
//*************************************************************************************************
91
template
<
typename
VT >
// Vector base type of the expression
92
inline
decltype
(
auto
)
noalias
(
const
VecNoAliasExpr<VT>
& vector )
93
{
94
return
*vector;
95
}
97
//*************************************************************************************************
98
99
}
// namespace blaze
100
101
#endif
NoAliasExpr.h
Header file for the NoAliasExpr base class.
blaze::noalias
decltype(auto) noalias(const DenseMatrix< MT, SO > &dm)
Forces the non-aliased evaluation of the given dense matrix expression dm.
Definition
DMatNoAliasExpr.h:679
blaze::NoAliasExpr
Base class for all no-alias expression templates.
Definition
NoAliasExpr.h:68
blaze::VecNoAliasExpr
Base class for all vector no-alias expression templates.
Definition
VecNoAliasExpr.h:68
Generated by
1.18.0