Q: terminate called after throwing an instance of ‘std::length_error’ what(): basic_string::_S_create
A:试图创建一个大于std::string::max的字符串大小(string装不下了)
- rapidjson addMember编译不过
makefile文件里加CFLAGS += -DRAPIDJSON_HAS_STDSTRING
Q: terminate called after throwing an instance of ‘std::length_error’ what(): basic_string::_S_create
A:试图创建一个大于std::string::max的字符串大小(string装不下了)