In the code I sometimes see:
cout (F(...) % p1 %p2...).str() \n;
other times just:
cout F(...) % p1 %p2... \n;
I guess the second form works because the formatter object has a string
copy constructor or something like that (?)
Does it make any difference?
Lapo
On Thu, Feb 15, 2007 at 09:24:38AM +0100, Lapo Luchini wrote:
In the code I sometimes see:
cout (F(...) % p1 %p2...).str() \n;
other times just:
cout F(...) % p1 %p2... \n;
I guess the second form works because the formatter object has a string
copy constructor or something like