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.
如何使用 Boost.Format 输出百分号本身?
IE:
boost::format msg("5% complete"); // <- how to actually output the percent sign
谢谢!
简单地用另一个百分号逃避它
boost::format msg("5%% complete");