Boost logo

Boost :

From: Mattias Flodin (flodin_at_[hidden])
Date: 2001-11-13 13:41:51


Hmmm, on the other hand, to quote Stroustrup from TC++PL section 4.9.3:

"Names starting with an underscore are reserved for special facilities in
the implementation and the run-time environment, so such names should not
be used in application programs."

I am not sure whether this rule actually made it into the standard, since
my copy of the book was printed before it (and I have yet to find the
finances to buy an actual copy of the ISO/ANSI standard). But
nevertheless, I think it would be best not to ignore such direct words
from Stroustrup; if nothing else, it would most likely cause dismay
if/when this is introduced to the standards commitee.

How about bind_1, or boost_1, or just follow the lambda libraries'
convention of free1, free1 etc?

On Tue, 13 Nov 2001, Peter Dimov wrote:

> From: "David Abrahams" <david.abrahams_at_[hidden]>
> > FYI, I'm getting this warning from gcc-3.0.2:
> >
> > c:/boost/boost/bind.hpp:1356: warning: identifier name `_1' conflicts with
> > GNU
> > C++ internal naming strategy
>
> Nicht gut. Legally speaking g++ is wrong since _1 is a valid user identifier
> in C++.
>
> --
> Peter Dimov
> Multi Media Ltd.
>
>
> Info: http://www.boost.org Unsubscribe: <mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

--
Mattias Flodin <flodin_at_[hidden]>   "A good thing about C++ is that only
Room D418                           friends can access your private parts"
Department of Computing Science
Umeå University
S-901 87 Umeå, Sweden
Note: Any opinions expressed in this mail are personal, and do not
necessarily reflect an official standpoint of Umeå University.

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