37 #ifndef VIGRA_BASICS_HXX
38 #define VIGRA_BASICS_HXX
42 #include "metaprogramming.hxx"
45 #include "mathutil.hxx"
56 #define VIGRA_AS_STRING(T) \
57 inline std::string asString(T t) \
59 std::stringstream s; \
65 VIGRA_AS_STRING(
signed char)
66 VIGRA_AS_STRING(
unsigned char)
67 VIGRA_AS_STRING(
signed short)
68 VIGRA_AS_STRING(
unsigned short)
69 VIGRA_AS_STRING(
signed long)
70 VIGRA_AS_STRING(
unsigned long)
71 VIGRA_AS_STRING(
signed long long)
72 VIGRA_AS_STRING(
unsigned long long)
73 VIGRA_AS_STRING(
signed int)
74 VIGRA_AS_STRING(
unsigned int)
75 VIGRA_AS_STRING(
float)
76 VIGRA_AS_STRING(
double)
77 VIGRA_AS_STRING(
long double)
78 VIGRA_AS_STRING(
void *)
80 #undef VIGRA_AS_STRING
106 #endif // VIGRA_BASICS_HXX