Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-03-06 15:42:37


> Dave Abrahams writes:
> [...]
>
> Personally, I've got a header file that has a bunch of nifty stream
> stuff; the first line is something like
>
> const char nl='\n';
>
> which I then use thusly:
>
> cout << "First line" << nl << "Second line" << nl;

Just to save two keystrokes? Well, four total in this line.


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