2010-08-12 06:55:12 +08:00
|
|
|
// Header for PCH test cxx-traits.cpp
|
|
|
|
|
|
|
|
template<typename _Tp>
|
2013-12-09 20:41:02 +08:00
|
|
|
struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier for the remainder of the translation unit}}
|
2010-08-12 06:55:12 +08:00
|
|
|
enum { __value };
|
|
|
|
};
|
|
|
|
|
|
|
|
template<typename _Tp>
|
2013-12-09 20:41:02 +08:00
|
|
|
struct __is_empty { // expected-warning {{keyword '__is_empty' will be made available as an identifier for the remainder of the translation unit}}
|
2010-08-12 06:55:12 +08:00
|
|
|
enum { __value };
|
|
|
|
};
|
2012-02-24 15:38:34 +08:00
|
|
|
|
|
|
|
template<typename T, typename ...Args>
|
|
|
|
struct is_trivially_constructible {
|
|
|
|
static const bool value = __is_trivially_constructible(T, Args...);
|
|
|
|
};
|