add includes missing in some metaprogramming headers
types uint and string
This commit is contained in:
parent
00c08bd27b
commit
90e6dae2d5
2 changed files with 12 additions and 7 deletions
|
|
@ -56,6 +56,8 @@
|
|||
|
||||
#include "lib/meta/typelist.hpp"
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace lib {
|
||||
namespace meta {
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue