Boost logo

Boost :

Subject: Re: [boost] Use constexpr with BOOST_STATIC_CONSTANT?
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-12-12 07:59:25


>Should BOOST_STATIC_CONSTANT be changed to add the C++11 "constexpr"
>attribute, if it's defined?
>I guess we would need a preprocessor flag to check if constexpr is
>available.

We have a config macro for that, but I don't see what constexp can add in
this case?

John.


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