Boost logo

Boost :

Subject: Re: [boost] Request: boost deprecated tag
From: Stjepan Rajko (stjepan.rajko_at_[hidden])
Date: 2009-06-16 19:32:27


On Tue, Jun 16, 2009 at 2:32 PM, Chard<boost_at_hazlewoods.eu> wrote:
> Given that there is a current move to rationalize the bind placeholders, and
> potentially introduce deprecated definitions, would it worth introducing a
> boost deprecated marker that makes use of compiler support to notify the
> user that they are using such definitions?
>

I've used something like this and found it very useful. The usage was
something like:

BOOST_DEPRECATED("** use bar instead **") void foo(...);

The string was useful for compilers that can print it along with the
deprecation warning.

Stjepan


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