Boost logo

Boost :

From: John Torjo (john_at_[hidden])
Date: 2003-05-05 10:38:16


----- Original Message -----
From: "Paul Mensonides" <pmenso57_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Saturday, May 03, 2003 1:54 AM
Subject: Re: [boost] Re: ENFORCE

> Paul Mensonides wrote:
> > #define BOOST_INVARIANT_OP(x, next) \
> > BOOST_INVARIANT_A, \
> > std::clog << #x"=" << (x) << &std::endl, \
> ^^^^^
> Yikes! There should be a space in between there (just in case):
>
> std::clog << #x "=" << (x) << &std::endl, \
> ^^^^^^
>
> Paul Mensonides

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.

Best,
John


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