Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-31 21:37:32


"Andy Little" <andy_at_[hidden]> writes:

>> This is not the "traditional" use of trailing underscores. Normally they
>> are used for keywords.
>>
>> int -> int_
>> bool -> bool_
>>
>> etc. MPL uses tons of names that clashes with names in std. This is a
>> problem for the user, not the library.
>
> I am attempting to write a libaray for 'users'.

Many 'users' don't use using-declarations and won't appreciate having
perfectly usable names uglified with extra underscores, or having
names in mpl:: which don't follow the MPL conventions.

> Its my problem.
> Is the mpl namespace regarded as a 'user interface' ?

If we're putting the names in mpl::, they should follow the same
conventions as the rest of the library.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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