Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
R
rapidjson
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
rapidjson
Commits
d8c793f2
Commit
d8c793f2
authored
Jan 23, 2016
by
Milo Yip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable type_traits
parent
2f5a69b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
documenttest.cpp
test/unittest/documenttest.cpp
+4
-0
stringbuffertest.cpp
test/unittest/stringbuffertest.cpp
+4
-0
valuetest.cpp
test/unittest/valuetest.cpp
+4
-0
No files found.
test/unittest/documenttest.cpp
View file @
d8c793f2
...
...
@@ -334,6 +334,8 @@ TEST(Document, UTF16_Document) {
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
#if 0 // Many old compiler does not support these. Turn it off temporaily.
#include <type_traits>
TEST(Document, Traits) {
...
...
@@ -371,6 +373,8 @@ TEST(Document, Traits) {
#endif
}
#endif
template
<
typename
Allocator
>
struct
DocumentMove
:
public
::
testing
::
Test
{
};
...
...
test/unittest/stringbuffertest.cpp
View file @
d8c793f2
...
...
@@ -74,6 +74,8 @@ TEST(StringBuffer, Pop) {
#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
#if 0 // Many old compiler does not support these. Turn it off temporaily.
#include <type_traits>
TEST(StringBuffer, Traits) {
...
...
@@ -111,6 +113,8 @@ TEST(StringBuffer, Traits) {
#endif
}
#endif
TEST
(
StringBuffer
,
MoveConstructor
)
{
StringBuffer
x
;
x
.
Put
(
'A'
);
...
...
test/unittest/valuetest.cpp
View file @
d8c793f2
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment