15#ifndef RAPIDJSON_INTERNAL_SWAP_H_
16#define RAPIDJSON_INTERNAL_SWAP_H_
22RAPIDJSON_DIAG_OFF(c++98-compat)
33inline void Swap(
T&
a,
T& b) RAPIDJSON_NOEXCEPT {
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
void Swap(T &a, T &b) RAPIDJSON_NOEXCEPT
Custom swap() to avoid dependency on C++ <algorithm> header.
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
#define T(meth, val, expected)
common definitions and configuration