21RAPIDJSON_DIAG_OFF(c++98-compat)
46 rapidjson::PutN(buffer,
' ', 1);
98#if RAPIDJSON_HAS_CXX11_RVALUE_REFS
102#include <type_traits>
105 static_assert( std::is_constructible<StringBuffer>::value,
"");
106 static_assert( std::is_default_constructible<StringBuffer>::value,
"");
108 static_assert(!std::is_copy_constructible<StringBuffer>::value,
"");
110 static_assert( std::is_move_constructible<StringBuffer>::value,
"");
112 static_assert(!std::is_nothrow_constructible<StringBuffer>::value,
"");
113 static_assert(!std::is_nothrow_default_constructible<StringBuffer>::value,
"");
115#if !defined(_MSC_VER) || _MSC_VER >= 1800
116 static_assert(!std::is_nothrow_copy_constructible<StringBuffer>::value,
"");
117 static_assert(!std::is_nothrow_move_constructible<StringBuffer>::value,
"");
120 static_assert( std::is_assignable<StringBuffer,StringBuffer>::value,
"");
122 static_assert(!std::is_copy_assignable<StringBuffer>::value,
"");
124 static_assert( std::is_move_assignable<StringBuffer>::value,
"");
126#if !defined(_MSC_VER) || _MSC_VER >= 1800
127 static_assert(!std::is_nothrow_assignable<StringBuffer, StringBuffer>::value,
"");
130 static_assert(!std::is_nothrow_copy_assignable<StringBuffer>::value,
"");
131 static_assert(!std::is_nothrow_move_assignable<StringBuffer>::value,
"");
133 static_assert( std::is_destructible<StringBuffer>::value,
"");
135 static_assert(std::is_nothrow_destructible<StringBuffer>::value,
"");
mie::Vuint Put(const uint64_t *x, size_t n)
const Ch * GetString() const
size_t GetSize() const
Get the size of string in bytes in the string buffer.
size_t GetLength() const
Get the length of string in Ch in the string buffer.
Default memory allocator used by the parser and DOM.
#define EXPECT_EQ(val1, val2)
#define EXPECT_STREQ(s1, s2)
#define TEST(test_case_name, test_name)