Boost logo

Boost :

Subject: [boost] Deprecation guidelines?
From: Daniel Herring (dherring_at_[hidden])
Date: 2011-03-17 11:51:12


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?

Thanks,
Daniel


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