diff --git a/types.hpp b/types.hpp index b2c98c77..1af648d4 100644 --- a/types.hpp +++ b/types.hpp @@ -48,4 +48,16 @@ first (T a, Args&& ...b) { return first (std::forward(b)...); } + +namespace util { + ///------------------------------------------------------------------------ + /// represents a type as a POD struct (but is statically recoverable via + /// the 'type' member). + template + struct type_tag + { + typedef T type; + }; +} + #endif