Boost logo

Boost :

From: Karl Nelson (kenelson_at_[hidden])
Date: 2002-01-24 12:28:34


> > also it can certainly add several features that could be useful to any
> > stream user.
> > (e.g. it could provide non-sticky versions for all the usual
> > manipulators)
>
> Hmm. How would you define that in this context?
> The only definition I can come up with would be like...
>
> cout << nonstick(hex) << 16 << 2;
>
> But that would fail if written...
>
> cout << nonstick(hex);
> cout << 16 << 2;

Scratch that I could just make it do...

  cout << nonstick(hex, 16) <<2;

Is that any better?

--Karl


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