diff --git a/doc/html/boost_config/acknowledgements.html b/doc/html/boost_config/acknowledgements.html index 2e961d14..17e711df 100644 --- a/doc/html/boost_config/acknowledgements.html +++ b/doc/html/boost_config/acknowledgements.html @@ -3,7 +3,7 @@ Acknowledgements - + diff --git a/doc/html/boost_config/boost_macro_reference.html b/doc/html/boost_config/boost_macro_reference.html index d46d6ab2..72991e34 100644 --- a/doc/html/boost_config/boost_macro_reference.html +++ b/doc/html/boost_config/boost_macro_reference.html @@ -3,7 +3,7 @@ Boost Macro Reference - + @@ -556,7 +556,7 @@

- BOOST_NO_NUMERIC_LIMITS_LOWEST + BOOST_NO_CXX11_NUMERIC_LIMITS

@@ -4671,6 +4671,25 @@ + + +

+ BOOST_NO_NUMERIC_LIMITS_LOWEST +

+ + +

+ BOOST_NO_CXX11_NUMERIC_LIMITS +

+ + +

+ Boost 1.51 +

+ + + + diff --git a/doc/html/boost_config/guidelines_for_boost_authors.html b/doc/html/boost_config/guidelines_for_boost_authors.html index e461783e..8fdc8f18 100644 --- a/doc/html/boost_config/guidelines_for_boost_authors.html +++ b/doc/html/boost_config/guidelines_for_boost_authors.html @@ -3,7 +3,7 @@ Guidelines for Boost Authors - + diff --git a/doc/html/boost_config/rationale.html b/doc/html/boost_config/rationale.html index cf175845..68dfc28a 100644 --- a/doc/html/boost_config/rationale.html +++ b/doc/html/boost_config/rationale.html @@ -3,7 +3,7 @@ Rationale - + diff --git a/doc/html/index.html b/doc/html/index.html index f5f4d0d5..2e031281 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -3,7 +3,7 @@ Boost.Config - + @@ -951,7 +951,7 @@ - +

Last revised: July 10, 2012 at 19:03:16 GMT

Last revised: July 12, 2012 at 13:53:08 GMT


diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index 65f490ed..7dbc340c 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -149,7 +149,7 @@ The C++ implementation does not provide the `` header. Never check for this symbol in library code; always include ``, which guarantees to provide `std::numeric_limits`. ]] -[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][Standard library][ +[[`BOOST_NO_CXX11_NUMERIC_LIMITS`][Standard library][ Static function `numeric_limits::lowest()` is not available for use. ]] [[`BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS`][Standard library][ @@ -1045,6 +1045,7 @@ They will be removed in a future version of boost. [[`BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX`][`BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX`][Boost 1.51][]] [[`BOOST_NO_VARIADIC_TEMPLATES`][`BOOST_NO_CXX11_VARIADIC_TEMPLATES`][Boost 1.51][]] [[`BOOST_NO_VARIADIC_MACROS`][`BOOST_NO_CXX11_VARIADIC_MACROS`][Boost 1.51][]] +[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][`BOOST_NO_CXX11_NUMERIC_LIMITS`][Boost 1.51][]] ] [endsect] diff --git a/include/boost/config/compiler/pathscale.hpp b/include/boost/config/compiler/pathscale.hpp index a357ceb2..30411263 100644 --- a/include/boost/config/compiler/pathscale.hpp +++ b/include/boost/config/compiler/pathscale.hpp @@ -42,7 +42,7 @@ # define BOOST_NO_CXX11_RANGE_BASED_FOR # define BOOST_NO_CXX11_RAW_LITERALS # define BOOST_NO_CXX11_NULLPTR -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_NOEXCEPT # define BOOST_NO_CXX11_LAMBDAS # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS diff --git a/include/boost/config/compiler/pgi.hpp b/include/boost/config/compiler/pgi.hpp index b2c8e8ed..fa32fefb 100644 --- a/include/boost/config/compiler/pgi.hpp +++ b/include/boost/config/compiler/pgi.hpp @@ -79,7 +79,7 @@ #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_CXX11_NOEXCEPT #define BOOST_NO_CXX11_NULLPTR -#define BOOST_NO_NUMERIC_LIMITS_LOWEST +#define BOOST_NO_CXX11_NUMERIC_LIMITS #define BOOST_NO_CXX11_RANGE_BASED_FOR #define BOOST_NO_CXX11_RAW_LITERALS #define BOOST_NO_CXX11_RVALUE_REFERENCES diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index ce3c5012..e0032b9d 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -106,7 +106,7 @@ # define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_FUNCTIONAL -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_SMART_PTR #endif diff --git a/include/boost/config/stdlib/libcomo.hpp b/include/boost/config/stdlib/libcomo.hpp index db56e022..29490f1b 100644 --- a/include/boost/config/stdlib/libcomo.hpp +++ b/include/boost/config/stdlib/libcomo.hpp @@ -53,7 +53,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 1bf62ec2..c56dff22 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -136,7 +136,7 @@ // C++0x features in GCC 4.5.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_HDR_FUTURE # define BOOST_NO_CXX11_HDR_RANDOM #endif diff --git a/include/boost/config/stdlib/modena.hpp b/include/boost/config/stdlib/modena.hpp index d46531c3..b483b6e0 100644 --- a/include/boost/config/stdlib/modena.hpp +++ b/include/boost/config/stdlib/modena.hpp @@ -42,7 +42,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/msl.hpp b/include/boost/config/stdlib/msl.hpp index 8e92f452..4f9a2da6 100644 --- a/include/boost/config/stdlib/msl.hpp +++ b/include/boost/config/stdlib/msl.hpp @@ -66,7 +66,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/roguewave.hpp b/include/boost/config/stdlib/roguewave.hpp index 57415a25..cb80f570 100644 --- a/include/boost/config/stdlib/roguewave.hpp +++ b/include/boost/config/stdlib/roguewave.hpp @@ -178,7 +178,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index f7c1a436..ae9b6ad9 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -136,7 +136,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/stlport.hpp b/include/boost/config/stdlib/stlport.hpp index 36d2a515..bcc30b99 100644 --- a/include/boost/config/stdlib/stlport.hpp +++ b/include/boost/config/stdlib/stlport.hpp @@ -226,7 +226,7 @@ namespace boost { using std::min; using std::max; } # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/stdlib/vacpp.hpp b/include/boost/config/stdlib/vacpp.hpp index aed701ea..9d169465 100644 --- a/include/boost/config/stdlib/vacpp.hpp +++ b/include/boost/config/stdlib/vacpp.hpp @@ -42,7 +42,7 @@ # define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_CXX11_HDR_UNORDERED_MAP # define BOOST_NO_CXX11_HDR_UNORDERED_SET -# define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_NUMERIC_LIMITS # define BOOST_NO_CXX11_ALLOCATOR # define BOOST_NO_CXX11_ATOMIC_SMART_PTR # define BOOST_NO_CXX11_SMART_PTR diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 1a492e64..2d248132 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -847,6 +847,10 @@ namespace std{ using ::type_info; } #if defined(BOOST_NO_CXX11_VARIADIC_MACROS) && !defined(BOOST_NO_VARIADIC_MACROS) # define BOOST_NO_VARIADIC_MACROS #endif +// Use BOOST_NO_CXX11_NUMERIC_LIMITS instead of BOOST_NO_NUMERIC_LIMITS_LOWEST +#if defined(BOOST_NO_CXX11_NUMERIC_LIMITS) && !defined(BOOST_NO_NUMERIC_LIMITS_LOWEST) +# define BOOST_NO_NUMERIC_LIMITS_LOWEST +#endif // ------------------ End of deprecated macros for 1.51 --------------------------- diff --git a/test/all/Jamfile.v2 b/test/all/Jamfile.v2 index 9bd02e64..7ef5e3c8 100644 --- a/test/all/Jamfile.v2 +++ b/test/all/Jamfile.v2 @@ -367,9 +367,9 @@ test-suite "BOOST_NO_LIMITS" : test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" : [ run ../no_limits_const_exp_pass.cpp ] [ compile-fail ../no_limits_const_exp_fail.cpp ] ; -test-suite "BOOST_NO_NUMERIC_LIMITS_LOWEST" : -[ run ../no_limits_lowest_pass.cpp ] -[ compile-fail ../no_limits_lowest_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_NUMERIC_LIMITS" : +[ run ../no_cxx11_numeric_limits_pass.cpp ] +[ compile-fail ../no_cxx11_numeric_limits_fail.cpp ] ; test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" : [ run ../no_ll_limits_pass.cpp ] [ compile-fail ../no_ll_limits_fail.cpp ] ; diff --git a/test/boost_no_limits_lowest.ipp b/test/boost_no_cxx11_numeric_limits.ipp similarity index 87% rename from test/boost_no_limits_lowest.ipp rename to test/boost_no_cxx11_numeric_limits.ipp index ae09aa72..29b1fc84 100644 --- a/test/boost_no_limits_lowest.ipp +++ b/test/boost_no_cxx11_numeric_limits.ipp @@ -5,13 +5,13 @@ // See http://www.boost.org/libs/config for most recent version. -// MACRO: BOOST_NO_NUMERIC_LIMITS_LOWEST +// MACRO: BOOST_NO_CXX11_NUMERIC_LIMITS // TITLE: static function lowest() in numeric_limits class // DESCRIPTION: static function numeric_limits::lowest() are not available for use. #include -namespace boost_no_numeric_limits_lowest{ +namespace boost_no_cxx11_numeric_limits{ int f() { diff --git a/test/config_info.cpp b/test/config_info.cpp index b26e8b58..9e263e52 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -1061,7 +1061,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD); PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP); - PRINT_MACRO(BOOST_NO_NUMERIC_LIMITS_LOWEST); + PRINT_MACRO(BOOST_NO_CXX11_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE); PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS); PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST); diff --git a/test/config_test.cpp b/test/config_test.cpp index 39df5afd..b66a895f 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -342,10 +342,10 @@ namespace boost_no_limits = empty_boost; #else namespace boost_no_limits_compile_time_constants = empty_boost; #endif -#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else -namespace boost_no_numeric_limits_lowest = empty_boost; +namespace boost_no_cxx11_numeric_limits = empty_boost; #endif #ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS #include "boost_no_ll_limits.ipp" @@ -1461,9 +1461,9 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_numeric_limits_lowest::test()) + if(0 != boost_no_cxx11_numeric_limits::test()) { - std::cerr << "Failed test for BOOST_NO_NUMERIC_LIMITS_LOWEST at: " << __FILE__ << ":" << __LINE__ << std::endl; + std::cerr << "Failed test for BOOST_NO_CXX11_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } if(0 != boost_no_long_long_numeric_limits::test()) diff --git a/test/no_limits_lowest_fail.cpp b/test/no_cxx11_numeric_limits_fail.cpp similarity index 78% rename from test/no_limits_lowest_fail.cpp rename to test/no_cxx11_numeric_limits_fail.cpp index d58aa04e..60717193 100644 --- a/test/no_limits_lowest_fail.cpp +++ b/test/no_cxx11_numeric_limits_fail.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST +// Test file for macro BOOST_NO_CXX11_NUMERIC_LIMITS // This file should not compile, if it does then -// BOOST_NO_NUMERIC_LIMITS_LOWEST should not be defined. +// BOOST_NO_CXX11_NUMERIC_LIMITS should not be defined. // See file boost_no_limits_lowest.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifdef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_numeric_limits_lowest::test(); + return boost_no_cxx11_numeric_limits::test(); } diff --git a/test/no_limits_lowest_pass.cpp b/test/no_cxx11_numeric_limits_pass.cpp similarity index 73% rename from test/no_limits_lowest_pass.cpp rename to test/no_cxx11_numeric_limits_pass.cpp index d6af60bd..eb2c6cd4 100644 --- a/test/no_limits_lowest_pass.cpp +++ b/test/no_cxx11_numeric_limits_pass.cpp @@ -10,9 +10,9 @@ // -// Test file for macro BOOST_NO_NUMERIC_LIMITS_LOWEST +// Test file for macro BOOST_NO_CXX11_NUMERIC_LIMITS // This file should compile, if it does not then -// BOOST_NO_NUMERIC_LIMITS_LOWEST should be defined. +// BOOST_NO_CXX11_NUMERIC_LIMITS should be defined. // See file boost_no_limits_lowest.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST -#include "boost_no_limits_lowest.ipp" +#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS +#include "boost_no_cxx11_numeric_limits.ipp" #else -namespace boost_no_numeric_limits_lowest = empty_boost; +namespace boost_no_cxx11_numeric_limits = empty_boost; #endif int main( int, char *[] ) { - return boost_no_numeric_limits_lowest::test(); + return boost_no_cxx11_numeric_limits::test(); }