|
Boost : |
Subject: Re: [boost] Macro fo rBOOST_NO_NUMERIC_LIMITS_MAX_DIGITS10 oruseBOOST_NO_NUMERIC_LIMITS_LOWEST
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-07-13 04:23:10
>> is there a way to don't include all the deprecated macros?
> Whoa - interesting question.
> I don't know of one.
>
> However, all the deprecated macros are defined (I _believe_) in one place,
> in boost/config/suffix.hpp
> Making it so none of them are defined _should_ be straightforward.
>
>Could I suggest to define all of them in a specific
>boost/config/deprecated.hpp file, so that we can add a deprecated warning
>when the file is included.
I think it's too soon for that - as things stand you would basically be
injecting that warning into every Boost header that includes
boost/config.hpp.
Besides I don't see what harm defining the old names does?
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk