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.
我想使用 yaml-cpp 发出一个带引号的字符串,所以它看起来像
time_stamp:“2011 年 8 月 10 日 01:37:52”
在输出 yaml 文件中。我该怎么做?谢谢。
YAML::Emitter out; // ... out << YAML::DoubleQuoted << "August 10, 2011 01:37:52";