$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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