
24 Aug
2012
24 Aug
'12
12:41 p.m.
On Fri, Aug 24, 2012 at 2:35 PM, John Maddock <boost.regex@virgin.net> wrote:
does Boost.Config provide some macro for the detection of (un)availability of user-defined literals (N2765) ? I could not find any in the docs for 1.51.0 nor by grepping in the boost/config/* files.
If not, would there be a big problem adding it (called for example BOOST_NO_USER_DEFINED_LITERALS), please ?
Is this any different from BOOST_NO_CONSTEXPR ?
You mean as in: #define BOOST_NO_USER_DEFINED_LITERALS BOOST_NO_CONSTEXPR ? Yes it is, at least on certain compilers. g++ 4.6.x for example implements constexpr but not operator "" Matus