7 #ifndef ALPS_NUMERIC_INF_HEADER 8 #define ALPS_NUMERIC_INF_HEADER 17 template<
typename T>
struct inf {};
19 #define ALPS_NUMERIC_INF_OVERLOADS(T) \ 21 template<> struct inf< T > { \ 26 operator T () const { \ 27 return std::numeric_limits< T >::infinity(); \ 33 #undef ALPS_NUMERIC_INF_OVERLOADS
#define ALPS_NUMERIC_INF_OVERLOADS(T)