Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-05-05 11:15:54


John Torjo wrote:

> Excellent! Indeed, works like a charm with both VC6 and gcc 3.2. I'll
> definitely use it!
>
> I did not understand why you wrote "&std::endl" instead of std::endl.
> Was it just a slip? I guess it would be more "orthodox" to say
> "std::endl" instead.

I was just being explicit, since the stream inserter takes a
pointer-to-function. I always do it explicitly, but either way is fine. Just a
habit, I guess.

Regards,
Paul Mensonides


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