mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Deprecated BOOST_NO_NUMERIC_LIMITS_LOWEST; use BOOST_NO_CXX11_NUMERIC_LIMITS instead
[SVN r79452]
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Acknowledgements</title>
|
<title>Acknowledgements</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="rationale.html" title="Rationale">
|
<link rel="prev" href="rationale.html" title="Rationale">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Boost Macro Reference</title>
|
<title>Boost Macro Reference</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="../index.html" title="Boost.Config">
|
<link rel="prev" href="../index.html" title="Boost.Config">
|
||||||
@ -556,7 +556,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_NUMERIC_LIMITS_LOWEST</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_NUMERIC_LIMITS</span></code>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -4671,6 +4671,25 @@
|
|||||||
<td>
|
<td>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_NUMERIC_LIMITS_LOWEST</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_CXX11_NUMERIC_LIMITS</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
Boost 1.51
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table></div>
|
</table></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Guidelines for Boost Authors</title>
|
<title>Guidelines for Boost Authors</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="boost_macro_reference.html" title="Boost Macro Reference">
|
<link rel="prev" href="boost_macro_reference.html" title="Boost Macro Reference">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Rationale</title>
|
<title>Rationale</title>
|
||||||
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||||
<link rel="home" href="../index.html" title="Boost.Config">
|
<link rel="home" href="../index.html" title="Boost.Config">
|
||||||
<link rel="up" href="../index.html" title="Boost.Config">
|
<link rel="up" href="../index.html" title="Boost.Config">
|
||||||
<link rel="prev" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">
|
<link rel="prev" href="guidelines_for_boost_authors.html" title="Guidelines for Boost Authors">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
<title>Boost.Config</title>
|
<title>Boost.Config</title>
|
||||||
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
|
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
|
||||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||||
<link rel="home" href="index.html" title="Boost.Config">
|
<link rel="home" href="index.html" title="Boost.Config">
|
||||||
<link rel="next" href="boost_config/boost_macro_reference.html" title="Boost Macro Reference">
|
<link rel="next" href="boost_config/boost_macro_reference.html" title="Boost Macro Reference">
|
||||||
</head>
|
</head>
|
||||||
@ -951,7 +951,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||||
<td align="left"><p><small>Last revised: July 10, 2012 at 19:03:16 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: July 12, 2012 at 13:53:08 GMT</small></p></td>
|
||||||
<td align="right"><div class="copyright-footer"></div></td>
|
<td align="right"><div class="copyright-footer"></div></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -149,7 +149,7 @@ The C++ implementation does not provide the `<limits>` header. Never check for
|
|||||||
this symbol in library code; always include `<boost/limits.hpp>`, which
|
this symbol in library code; always include `<boost/limits.hpp>`, which
|
||||||
guarantees to provide `std::numeric_limits`.
|
guarantees to provide `std::numeric_limits`.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_NUMERIC_LIMITS_LOWEST`][Standard library][
|
[[`BOOST_NO_CXX11_NUMERIC_LIMITS`][Standard library][
|
||||||
Static function `numeric_limits<T>::lowest()` is not available for use.
|
Static function `numeric_limits<T>::lowest()` is not available for use.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS`][Standard library][
|
[[`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_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_TEMPLATES`][`BOOST_NO_CXX11_VARIADIC_TEMPLATES`][Boost 1.51][]]
|
||||||
[[`BOOST_NO_VARIADIC_MACROS`][`BOOST_NO_CXX11_VARIADIC_MACROS`][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]
|
[endsect]
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
# define BOOST_NO_CXX11_RANGE_BASED_FOR
|
# define BOOST_NO_CXX11_RANGE_BASED_FOR
|
||||||
# define BOOST_NO_CXX11_RAW_LITERALS
|
# define BOOST_NO_CXX11_RAW_LITERALS
|
||||||
# define BOOST_NO_CXX11_NULLPTR
|
# 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_NOEXCEPT
|
||||||
# define BOOST_NO_CXX11_LAMBDAS
|
# define BOOST_NO_CXX11_LAMBDAS
|
||||||
# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
#define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
||||||
#define BOOST_NO_CXX11_NOEXCEPT
|
#define BOOST_NO_CXX11_NOEXCEPT
|
||||||
#define BOOST_NO_CXX11_NULLPTR
|
#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_RANGE_BASED_FOR
|
||||||
#define BOOST_NO_CXX11_RAW_LITERALS
|
#define BOOST_NO_CXX11_RAW_LITERALS
|
||||||
#define BOOST_NO_CXX11_RVALUE_REFERENCES
|
#define BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TUPLE
|
# define BOOST_NO_CXX11_HDR_TUPLE
|
||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_FUNCTIONAL
|
# define BOOST_NO_CXX11_HDR_FUNCTIONAL
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
# define BOOST_NO_CXX11_NUMERIC_LIMITS
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -136,7 +136,7 @@
|
|||||||
// C++0x features in GCC 4.5.0 and later
|
// C++0x features in GCC 4.5.0 and later
|
||||||
//
|
//
|
||||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#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_FUTURE
|
||||||
# define BOOST_NO_CXX11_HDR_RANDOM
|
# define BOOST_NO_CXX11_HDR_RANDOM
|
||||||
#endif
|
#endif
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -178,7 +178,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -136,7 +136,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -226,7 +226,7 @@ namespace boost { using std::min; using std::max; }
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
# define BOOST_NO_CXX11_HDR_TYPEINDEX
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
# define BOOST_NO_CXX11_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_CXX11_HDR_UNORDERED_SET
|
# 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_ALLOCATOR
|
||||||
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
|
||||||
# define BOOST_NO_CXX11_SMART_PTR
|
# define BOOST_NO_CXX11_SMART_PTR
|
||||||
|
@ -847,6 +847,10 @@ namespace std{ using ::type_info; }
|
|||||||
#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) && !defined(BOOST_NO_VARIADIC_MACROS)
|
#if defined(BOOST_NO_CXX11_VARIADIC_MACROS) && !defined(BOOST_NO_VARIADIC_MACROS)
|
||||||
# define BOOST_NO_VARIADIC_MACROS
|
# define BOOST_NO_VARIADIC_MACROS
|
||||||
#endif
|
#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 ---------------------------
|
// ------------------ End of deprecated macros for 1.51 ---------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -367,9 +367,9 @@ test-suite "BOOST_NO_LIMITS" :
|
|||||||
test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
|
test-suite "BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS" :
|
||||||
[ run ../no_limits_const_exp_pass.cpp ]
|
[ run ../no_limits_const_exp_pass.cpp ]
|
||||||
[ compile-fail ../no_limits_const_exp_fail.cpp ] ;
|
[ compile-fail ../no_limits_const_exp_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_NUMERIC_LIMITS_LOWEST" :
|
test-suite "BOOST_NO_CXX11_NUMERIC_LIMITS" :
|
||||||
[ run ../no_limits_lowest_pass.cpp ]
|
[ run ../no_cxx11_numeric_limits_pass.cpp ]
|
||||||
[ compile-fail ../no_limits_lowest_fail.cpp ] ;
|
[ compile-fail ../no_cxx11_numeric_limits_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
|
test-suite "BOOST_NO_LONG_LONG_NUMERIC_LIMITS" :
|
||||||
[ run ../no_ll_limits_pass.cpp ]
|
[ run ../no_ll_limits_pass.cpp ]
|
||||||
[ compile-fail ../no_ll_limits_fail.cpp ] ;
|
[ compile-fail ../no_ll_limits_fail.cpp ] ;
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
// See http://www.boost.org/libs/config for most recent version.
|
// 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 <limits>
|
// TITLE: static function lowest() in numeric_limits class <limits>
|
||||||
// DESCRIPTION: static function numeric_limits<T>::lowest() are not available for use.
|
// DESCRIPTION: static function numeric_limits<T>::lowest() are not available for use.
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
namespace boost_no_numeric_limits_lowest{
|
namespace boost_no_cxx11_numeric_limits{
|
||||||
|
|
||||||
int f()
|
int f()
|
||||||
{
|
{
|
@ -1061,7 +1061,7 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
|
PRINT_MACRO(BOOST_NO_MEMBER_TEMPLATE_KEYWORD);
|
||||||
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
PRINT_MACRO(BOOST_NO_MS_INT64_NUMERIC_LIMITS);
|
||||||
PRINT_MACRO(BOOST_NO_NESTED_FRIENDSHIP);
|
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_OPERATORS_IN_NAMESPACE);
|
||||||
PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS);
|
PRINT_MACRO(BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS);
|
||||||
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
PRINT_MACRO(BOOST_NO_POINTER_TO_MEMBER_CONST);
|
||||||
|
@ -342,10 +342,10 @@ namespace boost_no_limits = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_limits_compile_time_constants = empty_boost;
|
namespace boost_no_limits_compile_time_constants = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
|
#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
|
||||||
#include "boost_no_limits_lowest.ipp"
|
#include "boost_no_cxx11_numeric_limits.ipp"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_numeric_limits_lowest = empty_boost;
|
namespace boost_no_cxx11_numeric_limits = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
#ifndef BOOST_NO_LONG_LONG_NUMERIC_LIMITS
|
||||||
#include "boost_no_ll_limits.ipp"
|
#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;
|
std::cerr << "Failed test for BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++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;
|
++error_count;
|
||||||
}
|
}
|
||||||
if(0 != boost_no_long_long_numeric_limits::test())
|
if(0 != boost_no_long_long_numeric_limits::test())
|
||||||
|
@ -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
|
// 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
|
// See file boost_no_limits_lowest.ipp for details
|
||||||
|
|
||||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
@ -24,14 +24,14 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include "test.hpp"
|
#include "test.hpp"
|
||||||
|
|
||||||
#ifdef BOOST_NO_NUMERIC_LIMITS_LOWEST
|
#ifdef BOOST_NO_CXX11_NUMERIC_LIMITS
|
||||||
#include "boost_no_limits_lowest.ipp"
|
#include "boost_no_cxx11_numeric_limits.ipp"
|
||||||
#else
|
#else
|
||||||
#error "this file should not compile"
|
#error "this file should not compile"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main( int, char *[] )
|
int main( int, char *[] )
|
||||||
{
|
{
|
||||||
return boost_no_numeric_limits_lowest::test();
|
return boost_no_cxx11_numeric_limits::test();
|
||||||
}
|
}
|
||||||
|
|
@ -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
|
// 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
|
// See file boost_no_limits_lowest.ipp for details
|
||||||
|
|
||||||
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
@ -24,14 +24,14 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include "test.hpp"
|
#include "test.hpp"
|
||||||
|
|
||||||
#ifndef BOOST_NO_NUMERIC_LIMITS_LOWEST
|
#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
|
||||||
#include "boost_no_limits_lowest.ipp"
|
#include "boost_no_cxx11_numeric_limits.ipp"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_numeric_limits_lowest = empty_boost;
|
namespace boost_no_cxx11_numeric_limits = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main( int, char *[] )
|
int main( int, char *[] )
|
||||||
{
|
{
|
||||||
return boost_no_numeric_limits_lowest::test();
|
return boost_no_cxx11_numeric_limits::test();
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user