Wayverb
type_debug.h
1 #pragma once
2 
3 #define CONCAT_IMPL(x, y) x##y
4 #define CONCAT(x, y) CONCAT_IMPL(x, y)
5 
6 template <typename>
7 struct Type;
8 
9 #define PRINT_TYPE(T) Type<T> CONCAT(t, __COUNTER__)
10 #define PRINT_TYPE_OF(T) PRINT_TYPE(decltype(T))
Definition: type_debug.h:7