mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-10 03:29:59 +01:00

In the original disambiguation fix for `GenericValue::operator[]` (#170), the documentation has been missing, which led to quite badly rendered Doxygen pages. During a cleanup, I've realized that a much simpler disambiguation is possible: ````cpp GenericValue& operator[](SizeType idx); // array template <typename T> GenericValue& operator[](T* name); // object ```` This approach works, as non-template functions are preferred over template functions. In order to improve the error messages, the pointer type is restricted to `(const) Ch`. Update `tutorial.md` to drop the ambiguity warning.