Commit 3cfd6751 authored by Drew Noakes's avatar Drew Noakes

Add std::string overload to Writer when RAPIDJSON_HAS_STDSTRING defined.

parent 4cc36058
......@@ -127,6 +127,12 @@ public:
return WriteString(str, length);
}
#if RAPIDJSON_HAS_STDSTRING
bool String(const std::basic_string<Ch>& str) {
return String(str.data(), SizeType(str.size()));
}
#endif
bool StartObject() {
Prefix(kObjectType);
new (level_stack_.template Push<Level>()) Level(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment