With Boost.Format, I can compile the format once, and use it several times.
boost::format fmt("some complex and long format");
for (const auto& item : items) {
str(fmt % item.arg1 % item.arg2 % ...);
}
Despite CppFormat 2.0 being faster, isn't there an equivalent to the above? Thanks, --DD
With Boost.Format, I can compile the format once, and use it several times.
Despite CppFormat 2.0 being faster, isn't there an equivalent to the above? Thanks, --DD