-
Philipp A. Hartmann authored
As discovered by @felipegb94, there are missing overloads to the `GenericValue::AddMember<T>` template function, taking an explicit `GenericValue&` as a name and accepting arbitrary primitive values. This patch adds the missing overloads. The `StringRefType` overload is needed to disambiguate the addition of a string literal as value. Some tests are added to `TEST(Value, Object)` in `valuetest.cpp`.
06c3ddba
Name |
Last commit
|
Last update |
---|---|---|
CMakeModules | Loading commit data... | |
bin | ||
doc | ||
example | ||
include/rapidjson | ||
test | ||
thirdparty | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
RapidJSON.pc.in | ||
RapidJSONConfig.cmake.in | ||
RapidJSONConfigVersion.cmake.in | ||
appveyor.yml | ||
license.txt | ||
readme.md | ||
travis-doxygen.sh |