- 31 Aug, 2014 10 commits
-
-
Philipp A. Hartmann authored
Added basic detection of `noexcept` support for some compilers, added corresponding RAPIDJSON_NOEXCEPT annotations to * non-allocating constructors * (move) assignment * Swap
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
Directly allows temporary GenericValues as parameters: v.AddMember("foo", Value(s.c_str(),alloc), alloc);
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
When C++11 is enabled, several algorithms will fail, if GenericValue is neither copyable, nor movable. Cherry-picked from 8005b55.
-
- 30 Aug, 2014 7 commits
-
-
Milo Yip authored
Fix comparison operator ambiguities between Value/Document
-
Philipp A. Hartmann authored
Before applying the simplifications in ed282b81, the SFINAE check for the GenericValue(bool) constructor has been broken in MSVC 2005. Add a static assert as a safe-guard against future reappearance of this problem.
-
Philipp A. Hartmann authored
This finally fixes #113.
-
Philipp A. Hartmann authored
In order to match GenericValue and its derived classes for the SFINAE-implementation of some of the operators/functions, this meta-function matches all types equal to or derived from a given class. See std::is_base_of<B,D> available in C++11. Define RAPIDJSON_HAS_CXX_TYPETRAITS to use the C++11 implementation.
-
Philipp A. Hartmann authored
Some (older) compilers have problems with compile-time constants. This commit simplifies the implementation of the helper classes in order to improve compiler support, especially be removing the need of partial template specialisation. No functional changes.
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
Prepare equalto_operator tests to test comparisons between * GenericValue and GenericDocument * GenericValue with different SourceAllocator types Both combinations currently fail due to ambiguities with the templated operators on several compilers.
-
- 28 Aug, 2014 6 commits
- 27 Aug, 2014 2 commits
- 26 Aug, 2014 3 commits
-
-
Philipp A. Hartmann authored
As reported in #113, recent versions of Clang complain about ambiguous overloads for some comparison operator instantiations, especially if the deduced template type is a GenericValue. Add an explicit, non-templated version for now (which is a better match). This only solves part of the problem, as comparisons between * GenericValue & GenericDocument * GenericValue with different SourceAllocator types will still cause ambiguities.
-
Jan Wrobel authored
-
Philipp A. Hartmann authored
-
- 23 Aug, 2014 2 commits
- 21 Aug, 2014 5 commits
-
-
Milo Yip authored
GenericMemberIterator: fix comparisons/differences for mixed-constness expressions
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Milo Yip authored
Parsing optimization
-
- 20 Aug, 2014 5 commits
-
-
miloyip authored
Do unaligned non-SIMD matching first, and then SIMD matching later. Also add a fast path for no skipping.
-
Milo Yip authored
GenericValue: add optional support for std::string
-
miloyip authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-