• Philipp A. Hartmann's avatar
    GenericValue::AddMember<T>: add missing overload (closes #254) · 06c3ddba
    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
..
error Loading commit data...
internal Loading commit data...
msinttypes Loading commit data...
allocators.h Loading commit data...
document.h Loading commit data...
encodedstream.h Loading commit data...
encodings.h Loading commit data...
filereadstream.h Loading commit data...
filestream.h Loading commit data...
filewritestream.h Loading commit data...
memorybuffer.h Loading commit data...
memorystream.h Loading commit data...
prettywriter.h Loading commit data...
rapidjson.h Loading commit data...
reader.h Loading commit data...
stringbuffer.h Loading commit data...
writer.h Loading commit data...