Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-02-22 07:52:56


At 09:04 PM 2/21/2003, David Abrahams wrote:
>David Abrahams <dave_at_[hidden]> writes:
>
>> The config docs say:
>>
>> BOOST_NO_AUTO_PTR
>>
>> Standard library
>>
>> If the compiler / library supplies non-standard or broken
>> std::auto_ptr.
>>
>> Yet BOOST_NO_AUTO_PTR is not set for MSVC with its standard library,
>> in which auto_ptr does not support converting constructors, among
>> other major problems.
>>
>> I'm going to add BOOST_NO_AUTO_PTR for the old dinkumware library;
>> Please don't hesitate to let me know if there's a problem with this
>> change.
>
>Argh, that's going to break shared_ptr for a number of users; I think
>we need a new config macro (BOOST_BROKEN_AUTO_PTR or something) :-(

Yes, the problem isn't really "no auto_ptr" but a very specific set of
problems. Maybe you should just say BOOST_OLD_MSVC_AUTO_PTR.

Anyhow, please add whatever you decide to the docs.

--Beman


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