From 90e6dae2d58c1961cf43c1fc5e66836799de0121 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 7 Jan 2012 03:11:51 +0100 Subject: [PATCH] add includes missing in some metaprogramming headers types uint and string --- src/lib/meta/typelist-manip.hpp | 2 ++ src/lib/meta/util.hpp | 17 ++++++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/lib/meta/typelist-manip.hpp b/src/lib/meta/typelist-manip.hpp index 22144e86f..536630e13 100644 --- a/src/lib/meta/typelist-manip.hpp +++ b/src/lib/meta/typelist-manip.hpp @@ -56,6 +56,8 @@ #include "lib/meta/typelist.hpp" +#include + namespace lib { namespace meta { diff --git a/src/lib/meta/util.hpp b/src/lib/meta/util.hpp index 67dacc400..63ae2aa47 100644 --- a/src/lib/meta/util.hpp +++ b/src/lib/meta/util.hpp @@ -37,18 +37,21 @@ #ifndef LIB_META_UTIL_H #define LIB_META_UTIL_H - + +#include + + namespace lib { namespace meta { - - + + /* types for figuring out the overload resolution chosen by the compiler */ - + typedef char Yes_t; struct No_t { char more_than_one[4]; }; - - - + + + /** Compile-time Type equality: * Simple Trait template to pick up types considered