Blaze 3.9
Evaluate.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_SHIMS_EVALUATE_H_
36#define _BLAZE_MATH_SHIMS_EVALUATE_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45#include <blaze/util/EnableIf.h>
46
47
48namespace blaze {
49
50//=================================================================================================
51//
52// EVALUATE SHIM
53//
54//=================================================================================================
55
56//*************************************************************************************************
68template< typename T
69 , EnableIf_t< !HasCompositeType_v<T> && !IsProxy_v<T> >* = nullptr >
70constexpr T evaluate( const T& a ) noexcept
71{
72 return a;
73}
74//*************************************************************************************************
75
76} // namespace blaze
77
78#endif
Header file for the EnableIf class template.
Header file for the HasCompositeType type trait.
Header file for the IsProxy type trait.
constexpr T evaluate(const T &a) noexcept
Formal evaluation of the given argument.
Definition: Evaluate.h:70