
"Daniel Wallin" <dalwan01@student.umu.se> wrote in message news:401BE08C.7070604@student.umu.se...
Andy Little wrote:
"David Abrahams" <dave@boost-consulting.com> 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.
I am attempting to write a libaray for 'users'. Its my problem. Is the mpl namespace regarded as a 'user interface' ? regards Andy Little