Blaze 3.9
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
44
45
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
65template< typename VT > // Vector base type of the expression
67 : public NoAliasExpr<VT>
68{};
69//*************************************************************************************************
70
71
72
73
74//=================================================================================================
75//
76// GLOBAL RESTRUCTURING FUNCTIONS
77//
78//=================================================================================================
79
80//*************************************************************************************************
91template< typename VT > // Vector base type of the expression
92inline decltype(auto) noalias( const VecNoAliasExpr<VT>& vector )
93{
94 return *vector;
95}
97//*************************************************************************************************
98
99} // namespace blaze
100
101#endif
Header file for the NoAliasExpr base class.
decltype(auto) noalias(const DenseMatrix< MT, SO > &dm)
Forces the non-aliased evaluation of the given dense matrix expression dm.
Definition: DMatNoAliasExpr.h:679
Base class for all no-alias expression templates.
Definition: NoAliasExpr.h:68
Base class for all vector no-alias expression templates.
Definition: VecNoAliasExpr.h:68