traits.hpp File Reference
#include "../expression_types.hpp"
#include "iterator.hpp"
#include <cmath>

Go to the source code of this file.

Macros

#define REMORA_STD_UNARY_FUNCTION(func, id)
 

Macro Definition Documentation

◆ REMORA_STD_UNARY_FUNCTION

#define REMORA_STD_UNARY_FUNCTION (   func,
  id 
)
Value:
template<class T>\
struct func{\
static const bool zero_identity = id;\
typedef T result_type;\
T operator()(T x)const {\
return std::func(x);\
}\
};

Definition at line 209 of file traits.hpp.