summaryrefslogtreecommitdiffstats
path: root/test/PCH/cxx-traits.h
blob: 8b62002789d6f829294534f14ad2ded9c97c1b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Header for PCH test cxx-traits.cpp

template<typename _Tp>
struct __is_pod {
  enum { __value };
};

template<typename _Tp>
struct __is_empty {
  enum { __value };
};

template<typename T, typename ...Args>
struct is_trivially_constructible {
  static const bool value = __is_trivially_constructible(T, Args...);
};