$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-01-31 12:06:20
Andy Little wrote:
> "David Abrahams" <dave_at_[hidden]> wrote in message
>>What is the reason for the trailing underscores?
>
>
> In case of pow_ to stop it name-clashing with pow(x,y), if 'using
> boost::mpl' ,using std. In case of root_ for similarity with pow.
> In case of reciprocal the underscore is very small. Thought 'power' might
> also clash with other names.
> But any suggestions appreciated.
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.
-- Daniel Wallin