Boost logo

Boost :

From: Daryle Walker (dwalker07_at_[hidden])
Date: 2002-11-04 02:16:56


Instead of operator<<(ostream,rounding) returning a special object for
later use in operator<<(special,decimal), which doesn't persist between
statements, why don't you do something like the std::width conspiracy?
The standard I/O flags are sticky, but the non-stickiness of std::width
is done by a conspiracy that operator<< always resets the width after
an output.

Daryle


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk