Boost logo

Boost Users :

Subject: Re: [Boost-users] boost 1.37, tr1 and gcc 4.x
From: John Maddock (john_at_[hidden])
Date: 2008-11-12 04:42:38


ACSoft wrote:
>> I think the boost implementations should move the std::tr1
>> implementation into the boost namespace if possible. This should
>> solve all the problems.
>>
>> example:
>>
>> array.hpp
>>
>> #ifdef STL_ARRAY_EXISTS
>> # ifdef USE_TR1
>> # include <tr1/array>
>> # else
>> # include <array>
>> # endif
>> #endif
>>
>> namespace boost
>> {
>> #ifdef STL_ARRAY_EXISTS
>> # ifdef USE_TR1
>> using std::tr1::array;
>> # else
>> using std::array;
>> # endif
>> #else
>> template<...> class array
>> {
>> //...
>> };
>> #endif
>> }
>>
>> What do you think of this idea?

Personally I'm violently opposed for the reasons I gave in a previous mail.

Sorry, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net