|
Boost Users : |
Subject: [Boost-users] [format] Alternative syntax
From: Emre Turkay (emreturkay2_at_[hidden])
Date: 2009-07-29 10:34:33
Hi folks,
Any interest in the alternative syntax for boost::format?
format2 f("Hello %s, %s");
std::cout << f("Joe", "Jane") << std::endl
<< f("Jose", "Mary") << std::endl;
Which creates the output;
Hello Joe, Jane
Hello Jose, Mary
Code is available at http://bit.ly/2J60Re for any suggessions.
Take care,
emre
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net