| 200 | } |
| 201 | |
| 202 | bool String(const Ch* str, SizeType length, bool copy = false) { |
| 203 | CEREAL_RAPIDJSON_ASSERT(str != 0); |
| 204 | (void)copy; |
| 205 | Prefix(kStringType); |
| 206 | return EndValue(WriteString(str, length)); |
| 207 | } |
| 208 | |
| 209 | #if CEREAL_RAPIDJSON_HAS_STDSTRING |
| 210 | bool String(const std::basic_string<Ch>& str) { |