Eval.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_FUNCTORS_EVAL_H_
36 #define _BLAZE_MATH_FUNCTORS_EVAL_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/math/shims/Eval.h>
44 #include <blaze/system/Inline.h>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
59 struct Eval
60 {
61  //**********************************************************************************************
64  explicit inline Eval()
65  {}
66  //**********************************************************************************************
67 
68  //**********************************************************************************************
74  template< typename T >
75  BLAZE_ALWAYS_INLINE decltype(auto) operator()( const T& a ) const
76  {
77  return eval( a );
78  }
79  //**********************************************************************************************
80 };
81 //*************************************************************************************************
82 
83 } // namespace blaze
84 
85 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
Eval()
Default constructor of the Eval functor.
Definition: Eval.h:64
decltype(auto) eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:786
Generic wrapper for the eval() function.
Definition: Eval.h:59
Header file for the eval shim.
System settings for the inline keywords.