Boost logo

Boost :

Subject: Re: [boost] Deprecation guidelines?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-17 12:32:40


AMDG

On 03/17/2011 08:51 AM, Daniel Herring wrote:
> I was trying to figure out how Boost handles deprecated classes,
> functions, headers, macros, etc.
>
> The following command finds several approaches within boost
> $ grep -ir deprecate boost-1.44.0/include/boost/* \
> | grep -v "This header is deprecated" \
> | grep -v BOOST_SPIRIT_DEPRECATED
>
>
> Surprisingly, none of these use compiler support. e.g.
> http://stackoverflow.com/questions/295120/c-mark-as-deprecated
>
>
> Where can one find guidelines on how to deprecate things in Boost?
> What is the proper way to check that code using Boost is clean?

There is no standard for doing this. Right now,
it's whatever each library author decides to do.

In Christ,
Steven Watanabe


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