|
Boost : |
Subject: Re: [boost] Use of deprecated macros in Boost
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-12-13 12:48:09
On Dec 13, 2012, at 7:37 AM, Marshall Clow <mclow.lists_at_[hidden]> wrote:
> On Dec 12, 2012, at 10:38 AM, Peter Dimov <lists_at_[hidden]> wrote:
>>> Marshall Clow wrote:
>>>> On Dec 12, 2012, at 8:17 AM, Peter Dimov <lists_at_[hidden]> wrote:
>>>>
>>>>> Marshall Clow wrote:
>>>>>> There's a full list at:
>>>>>> http://www.boost.org/doc/libs/1_52_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.boost_deprecated_macros
>>>>>
>>>>> This list doesn't appear to be complete; it's missing, for example, > > BOOST_HAS_RVALUE_REFS.
>>>>
>>>> I haven't touched any of the BOOST_HAS macros - they should be > unchanged.
>>>>
>>>> However, I just added BOOST_HAS_RVALUE_REFS to the docs. (r 81878)
>>>>
>>>> In an ideal world, I think that macro should be named > BOOST_HAS_CXX11_RVALUE_REFERENCES or (even better) > !defined(BOOST_NO_CXX11_RVALUE_REFERENCES), but not today.
>>>
>>> There are two more such macros, as far as I can see: BOOST_HAS_STATIC_ASSERT and BOOST_HAS_VARIADIC_TMPL.
>>
>> Do you want these cleaned up from the SmartPtr library for this release, by the way? There's still time.
>
> If you have time, that would be great.
> I don't think we can get all uses of them out before we hit code freeze, but there aren't that many uses of those macros (SmartPtr and Heap, mostly).
Just saw r81900 and r81901 -- you rock, Peter!
-- Marshall
Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
-- Yu Suzuki
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk