Disable type_traits

This commit is contained in:
Milo Yip
2016-01-23 15:27:59 +08:00
parent 2f5a69b2fb
commit d8c793f23f
3 changed files with 12 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ TEST(Value, DefaultConstructor) {
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
#if 0 // Many old compiler does not support these. Turn it off temporaily.
#include <type_traits>
TEST(Value, Traits) {
@@ -77,6 +79,8 @@ TEST(Value, Traits) {
#endif
}
#endif
TEST(Value, MoveConstructor) {
typedef GenericValue<UTF8<>, CrtAllocator> Value;
Value::AllocatorType allocator;