$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [format] Reuse of the format object
From: Maxime van Noppen (maxime_at_[hidden])
Date: 2011-04-11 12:27:26
On 04/11/2011 06:20 PM, Ryan Gallagher wrote:
> I think you could just write:
>
> std::cout << fmt % "a" % "b" % "c";
> std::cout << fmt % 1 % 2 % 3;
>
> When the str(format&) or operator<<(std::ostream&, format&) is applied it should
> check and clear the format bindings. HTH,
Of course, and it works, but I don't like to be bitten without knowing
what happened exactly. :) It might also be worth mentioning in the doc.
-- Maxime