tr1/, was: Where are std::sinf( float ) etc.

Peter Dimov pdimov@mmltd.net
Thu Dec 29 20:54:00 GMT 2005


Gabriel Dos Reis wrote:

> I would suggest we hold TR1 stuff in <tr1/> as we're currently doing.

The Boost 'implementation' of TR1 (which is not a real TR1 but merely a 
repackaging of the existing Boost components) tries to put the TR1 bits into 
<header> as per the letter of the specfication instead of <tr1/header>.

Getting this to work is a nightmare. :-) In retrospect, it'd have been much 
better if the spec had put the components in <tr1/header>, as libstdc++ 
does.

Does anyone think that TR1 should be changed to use <tr1/>, or do you think 
that it's too late for that or that it isn't worth it? (Users would probably 
appreciate the ability to #include <tr1/memory> and have it work everywhere, 
or alternatively, #include <memory> and get the std::tr1 bits.)

> I expect most of TR1 to got in C++0x; I'm not sure all of TR1 will be
> dumped though.  I have reservations (already communicated to my
> national body) about some parts of it.

"Interesting." :-)



More information about the Libstdc++ mailing list