add includes missing in some metaprogramming headers

types uint and string
This commit is contained in:
Fischlurch 2012-01-07 03:11:51 +01:00
parent 00c08bd27b
commit 90e6dae2d5
2 changed files with 12 additions and 7 deletions

View file

@ -56,6 +56,8 @@
#include "lib/meta/typelist.hpp"
#include <sys/types.h>
namespace lib {
namespace meta {

View file

@ -37,18 +37,21 @@
#ifndef LIB_META_UTIL_H
#define LIB_META_UTIL_H
#include <string>
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