示例#1
0
	void operator()(
		rapidjson::GenericValue<Encoding, Allocator>& rjv,
		Allocator& alloc,
		char v
	) const { rjv.SetString(&v, 1, alloc); }
示例#2
0
	void operator()(
		rapidjson::GenericValue<Encoding, Allocator>& rjv,
		Allocator& alloc,
		const char* v
	) const { rjv.SetString(v, (N>0 && v[N-1])?N:N-1, alloc); }