Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将rappidjson中的字符串值分配给我的变量类。
void MyClass::setName(Ch* jsonString) { _name = (std::string)jsonString; }
我解决了这个问题。
void MyClass::setName(Ch* jsonString) { _name = jsonString; }