forked from boostorg/config
Update gcc-4.6.0 config and tests to match.
[SVN r70754]
This commit is contained in:
@@ -139,11 +139,15 @@
|
|||||||
# define BOOST_NO_0X_HDR_RANDOM
|
# define BOOST_NO_0X_HDR_RANDOM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// C++0x features in GCC 4.5.0 and later
|
||||||
|
//
|
||||||
|
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
|
# define BOOST_NO_0X_HDR_TYPEINDEX
|
||||||
|
#endif
|
||||||
// C++0x headers not yet (fully!) implemented
|
// C++0x headers not yet (fully!) implemented
|
||||||
//
|
//
|
||||||
# define BOOST_NO_0X_HDR_THREAD
|
# define BOOST_NO_0X_HDR_THREAD
|
||||||
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
# define BOOST_NO_0X_HDR_TYPE_TRAITS
|
||||||
# define BOOST_NO_0X_HDR_CODECVT
|
# define BOOST_NO_0X_HDR_CODECVT
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
|
||||||
|
|
||||||
// --- end ---
|
// --- end ---
|
||||||
|
@@ -32,7 +32,7 @@ template<int> struct X { };
|
|||||||
|
|
||||||
constexpr A a = 42;
|
constexpr A a = 42;
|
||||||
|
|
||||||
X<a> x; // OK: unique conversion to int
|
X<a> xx; // OK: unique conversion to int
|
||||||
|
|
||||||
int test()
|
int test()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user