• Philipp A. Hartmann's avatar
    GenericValue::operator= : fixup assignment operator · 41d211cd
    Philipp A. Hartmann authored
    While MSVC doesn't like the explicit `.template operator=<...>` syntax
    (see 4f40ed64), Clang 3.5 complains about the absence of it:
    
    In file included from ../../test/perftest/rapidjsontest.cpp:6:
    ../../include/rapidjson/document.h:504:18: error: use 'template' keyword to treat 'operator =' as a dependent template name
                    return (*this).operator=<StringRefType>(str);
                                   ^
                                   template
    
    Delegate both operator=(StringRefType) and operator=(T) to operator(GenericValue&).
    41d211cd
Name
Last commit
Last update
bin Loading commit data...
build Loading commit data...
doc Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
license.txt Loading commit data...
readme.md Loading commit data...