|
From: | Lapo Luchini |
Subject: | [Monotone-devel] F and .str() |
Date: | Thu, 15 Feb 2007 09:24:38 +0100 |
User-agent: | Thunderbird 1.5.0.9 (X11/20070129) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |