[config] NO_USER_DEFINED_LITERALS ?

Hello, 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 ? Thanks in advance, Best regards, Matus

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 ? John.

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
participants (2)
-
John Maddock
-
Matus Chochlik