
19 Jun
2007
19 Jun
'07
3:37 a.m.
Lars Viklund wrote:
On Mon, Jun 18, 2007 at 11:48:41PM +0400, Andrey Semashev wrote:
Ion Gaztañaga wrote:
I have to admit though, that indeed formatting is not a bright side of the current IO design. I think a better set of manipulators for basic primitives should do good. There might even be a printf-like manipulator:
Do not forget about the mighty fine Boost.Format library. It's already in boost, and is quite capable of type safe printf-like formatting.
That's the key problem - it's like printf, thus makes extensibility for user-defined types difficult, if possible. What I was talking about is the best of the two worlds - ease of formatting and extensibility.