mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 04:47:16 +02:00
Merge changes from Trunk.
Adds new macros BOOST_NO_NOEXCEPT and BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX. Fixes #4867. Fixes #5571. [SVN r72217]
This commit is contained in:
@ -2695,6 +2695,18 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_NOEXCEPT</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
The compiler does not support <code class="computeroutput"><span class="identifier">noexcept</span></code>.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_NULLPTR</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_NULLPTR</span></code>
|
||||||
@ -2793,6 +2805,19 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
<code class="computeroutput"><span class="identifier">BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX</span></code>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
The compiler does not support the <a href="http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization" target="_top">C++11
|
||||||
|
Unified Initialization Syntax</a>.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p>
|
<p>
|
||||||
<code class="computeroutput"><span class="identifier">BOOST_NO_VARIADIC_TEMPLATES</span></code>
|
<code class="computeroutput"><span class="identifier">BOOST_NO_VARIADIC_TEMPLATES</span></code>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
</h3></div></div></div>
|
</h3></div></div></div>
|
||||||
<div><p class="copyright">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
|
<div><p class="copyright">Copyright © 2001 -2007 Beman Dawes, Vesa Karvonen, John Maddock</p></div>
|
||||||
<div><div class="legalnotice">
|
<div><div class="legalnotice">
|
||||||
<a name="id1006373"></a><p>
|
<a name="id996438"></a><p>
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||||
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
|
||||||
</p>
|
</p>
|
||||||
@ -946,7 +946,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: April 06, 2011 at 10:49:30 GMT</small></p></td>
|
<td align="left"><p><small>Last revised: May 09, 2011 at 11:33:33 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>
|
||||||
|
@ -597,6 +597,8 @@ The C++ compiler does not support C++0x initializer lists.
|
|||||||
]]
|
]]
|
||||||
[[`BOOST_NO_LONG_LONG`][The compiler does not support `long long`.
|
[[`BOOST_NO_LONG_LONG`][The compiler does not support `long long`.
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_NO_NOEXCEPT`][The compiler does not support `noexcept`.
|
||||||
|
]]
|
||||||
[[`BOOST_NO_NULLPTR`][The compiler does not support 'nullptr'.
|
[[`BOOST_NO_NULLPTR`][The compiler does not support 'nullptr'.
|
||||||
]]
|
]]
|
||||||
[[`BOOST_NO_RAW_LITERALS`][The compiler does not support
|
[[`BOOST_NO_RAW_LITERALS`][The compiler does not support
|
||||||
@ -618,7 +620,10 @@ scoped enumerations (`enum class`).
|
|||||||
]]
|
]]
|
||||||
[[`BOOST_NO_UNICODE_LITERALS`][The compiler does not support
|
[[`BOOST_NO_UNICODE_LITERALS`][The compiler does not support
|
||||||
Unicode (`u8`, `u`, `U`) literals.
|
Unicode (`u8`, `u`, `U`) literals.
|
||||||
]]
|
]]
|
||||||
|
[[`BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX`][The compiler does not support
|
||||||
|
the [@http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization C++11 Unified Initialization Syntax].
|
||||||
|
]]
|
||||||
[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support
|
[[`BOOST_NO_VARIADIC_TEMPLATES`][The compiler does not support
|
||||||
variadic templates.
|
variadic templates.
|
||||||
]]
|
]]
|
||||||
|
@ -185,6 +185,8 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS // UTF-8 still not supported
|
#define BOOST_NO_UNICODE_LITERALS // UTF-8 still not supported
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#if __BORLANDC__ >= 0x590
|
#if __BORLANDC__ >= 0x590
|
||||||
# define BOOST_HAS_TR1_HASH
|
# define BOOST_HAS_TR1_HASH
|
||||||
@ -279,3 +281,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,8 +49,10 @@
|
|||||||
|
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#if !__has_feature(cxx_rvalue_references)
|
#if !__has_feature(cxx_rvalue_references)
|
||||||
# define BOOST_NO_RVALUE_REFERENCES
|
# define BOOST_NO_RVALUE_REFERENCES
|
||||||
|
@ -100,6 +100,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -107,6 +108,7 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
//
|
//
|
||||||
// TR1 macros:
|
// TR1 macros:
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -90,6 +91,7 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#ifdef c_plusplus
|
#ifdef c_plusplus
|
||||||
// EDG has "long long" in non-strict mode
|
// EDG has "long long" in non-strict mode
|
||||||
|
@ -72,6 +72,7 @@
|
|||||||
#define BOOST_NO_EXTERN_TEMPLATE
|
#define BOOST_NO_EXTERN_TEMPLATE
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -81,6 +82,8 @@
|
|||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#if (__DMC__ < 0x812)
|
#if (__DMC__ < 0x812)
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
#define BOOST_NO_VARIADIC_MACROS
|
||||||
#endif
|
#endif
|
||||||
|
@ -212,7 +212,9 @@
|
|||||||
//
|
//
|
||||||
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
#define BOOST_NO_CONSTEXPR
|
#define BOOST_NO_CONSTEXPR
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BOOST_COMPILER
|
#ifndef BOOST_COMPILER
|
||||||
|
@ -50,6 +50,8 @@
|
|||||||
# define BOOST_NO_LAMBDAS
|
# define BOOST_NO_LAMBDAS
|
||||||
# define BOOST_NO_RAW_LITERALS
|
# define BOOST_NO_RAW_LITERALS
|
||||||
# define BOOST_NO_UNICODE_LITERALS
|
# define BOOST_NO_UNICODE_LITERALS
|
||||||
|
# define BOOST_NO_NOEXCEPT
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
#define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
#define BOOST_NO_SCOPED_ENUMS
|
||||||
@ -114,6 +115,7 @@
|
|||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
#define BOOST_NO_VARIADIC_MACROS
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
||||||
|
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -63,6 +64,7 @@
|
|||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
#define BOOST_NO_VARIADIC_MACROS
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
# define BOOST_NO_RAW_LITERALS
|
# define BOOST_NO_RAW_LITERALS
|
||||||
# define BOOST_NO_NULLPTR
|
# define BOOST_NO_NULLPTR
|
||||||
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
# define BOOST_NO_NUMERIC_LIMITS_LOWEST
|
||||||
|
# define BOOST_NO_NOEXCEPT
|
||||||
# define BOOST_NO_LAMBDAS
|
# define BOOST_NO_LAMBDAS
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
||||||
@ -57,6 +58,7 @@
|
|||||||
# define BOOST_NO_CHAR16_T
|
# define BOOST_NO_CHAR16_T
|
||||||
# define BOOST_NO_AUTO_MULTIDECLARATIONS
|
# define BOOST_NO_AUTO_MULTIDECLARATIONS
|
||||||
# define BOOST_NO_AUTO_DECLARATIONS
|
# define BOOST_NO_AUTO_DECLARATIONS
|
||||||
|
# define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
# define BOOST_NO_0X_HDR_UNORDERED_SET
|
||||||
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
# define BOOST_NO_0X_HDR_UNORDERED_MAP
|
||||||
# define BOOST_NO_0X_HDR_TYPEINDEX
|
# define BOOST_NO_0X_HDR_TYPEINDEX
|
||||||
|
@ -60,6 +60,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -70,6 +71,7 @@
|
|||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
#define BOOST_NO_VARIADIC_MACROS
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
//
|
//
|
||||||
// version check:
|
// version check:
|
||||||
|
@ -112,6 +112,7 @@
|
|||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
@ -122,6 +123,7 @@
|
|||||||
#define BOOST_NO_UNICODE_LITERALS
|
#define BOOST_NO_UNICODE_LITERALS
|
||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_VARIADIC_MACROS
|
#define BOOST_NO_VARIADIC_MACROS
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
|
||||||
//
|
//
|
||||||
// Version
|
// Version
|
||||||
|
@ -96,11 +96,13 @@
|
|||||||
#endif
|
#endif
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
#define BOOST_NO_LAMBDAS
|
#define BOOST_NO_LAMBDAS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_NULLPTR
|
#define BOOST_NO_NULLPTR
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_RVALUE_REFERENCES
|
#define BOOST_NO_RVALUE_REFERENCES
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
#define BOOST_NO_SCOPED_ENUMS
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
#if ! __IBMCPP_STATIC_ASSERT
|
#if ! __IBMCPP_STATIC_ASSERT
|
||||||
# define BOOST_NO_STATIC_ASSERT
|
# define BOOST_NO_STATIC_ASSERT
|
||||||
#endif
|
#endif
|
||||||
|
@ -199,6 +199,7 @@
|
|||||||
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
#define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
|
||||||
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
#define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
||||||
#define BOOST_NO_INITIALIZER_LISTS
|
#define BOOST_NO_INITIALIZER_LISTS
|
||||||
|
#define BOOST_NO_NOEXCEPT
|
||||||
#define BOOST_NO_RAW_LITERALS
|
#define BOOST_NO_RAW_LITERALS
|
||||||
#define BOOST_NO_SCOPED_ENUMS
|
#define BOOST_NO_SCOPED_ENUMS
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
@ -206,6 +207,7 @@
|
|||||||
#define BOOST_NO_VARIADIC_TEMPLATES
|
#define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
#define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
||||||
|
#define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
//
|
//
|
||||||
// prefix and suffix headers:
|
// prefix and suffix headers:
|
||||||
//
|
//
|
||||||
|
@ -87,7 +87,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
#if !_HAS_EXCEPTIONS
|
#if ( (!_HAS_EXCEPTIONS && !defined(__ghs__)) || (!_HAS_NAMESPACE && defined(__ghs__)) )
|
||||||
# define BOOST_NO_STD_TYPEINFO
|
# define BOOST_NO_STD_TYPEINFO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Regression test Jamfile for boost configuration setup.
|
# Regression test Jamfile for boost configuration setup.
|
||||||
# *** DO NOT EDIT THIS FILE BY HAND ***
|
# *** DO NOT EDIT THIS FILE BY HAND ***
|
||||||
# This file was automatically generated on Tue Mar 15 12:25:21 2011
|
# This file was automatically generated on Mon May 09 12:11:18 2011
|
||||||
# by libs/config/tools/generate.cpp
|
# by libs/config/tools/generate.cpp
|
||||||
# Copyright John Maddock.
|
# Copyright John Maddock.
|
||||||
# Use, modification and distribution are subject to the
|
# Use, modification and distribution are subject to the
|
||||||
@ -379,6 +379,9 @@ test-suite "BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS" :
|
|||||||
test-suite "BOOST_NO_NESTED_FRIENDSHIP" :
|
test-suite "BOOST_NO_NESTED_FRIENDSHIP" :
|
||||||
[ run ../no_nested_friendship_pass.cpp ]
|
[ run ../no_nested_friendship_pass.cpp ]
|
||||||
[ compile-fail ../no_nested_friendship_fail.cpp ] ;
|
[ compile-fail ../no_nested_friendship_fail.cpp ] ;
|
||||||
|
test-suite "BOOST_NO_NOEXCEPT" :
|
||||||
|
[ run ../no_noexcept_pass.cpp ]
|
||||||
|
[ compile-fail ../no_noexcept_fail.cpp ] ;
|
||||||
test-suite "BOOST_NO_NULLPTR" :
|
test-suite "BOOST_NO_NULLPTR" :
|
||||||
[ run ../no_nullptr_pass.cpp ]
|
[ run ../no_nullptr_pass.cpp ]
|
||||||
[ compile-fail ../no_nullptr_fail.cpp ] ;
|
[ compile-fail ../no_nullptr_fail.cpp ] ;
|
||||||
@ -490,6 +493,9 @@ test-suite "BOOST_NO_TYPENAME_WITH_CTOR" :
|
|||||||
test-suite "BOOST_NO_UNICODE_LITERALS" :
|
test-suite "BOOST_NO_UNICODE_LITERALS" :
|
||||||
[ run ../no_unicode_literals_pass.cpp ]
|
[ run ../no_unicode_literals_pass.cpp ]
|
||||||
[ compile-fail ../no_unicode_literals_fail.cpp ] ;
|
[ compile-fail ../no_unicode_literals_fail.cpp ] ;
|
||||||
|
test-suite "BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX" :
|
||||||
|
[ run ../no_unified_init_pass.cpp ]
|
||||||
|
[ compile-fail ../no_unified_init_fail.cpp ] ;
|
||||||
test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" :
|
test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" :
|
||||||
[ run ../no_using_breaks_adl_pass.cpp ]
|
[ run ../no_using_breaks_adl_pass.cpp ]
|
||||||
[ compile-fail ../no_using_breaks_adl_fail.cpp ] ;
|
[ compile-fail ../no_using_breaks_adl_fail.cpp ] ;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// TITLE: C++0x defaulted functions unavailable
|
// TITLE: C++0x defaulted functions unavailable
|
||||||
// DESCRIPTION: The compiler does not support C++0x defaulted functions
|
// DESCRIPTION: The compiler does not support C++0x defaulted functions
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X)
|
||||||
# error Defaulted functions aren't really supported in non-C++0x mode
|
# error Defaulted functions aren't really supported in non-C++0x mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// TITLE: C++0x =delete functions unavailable
|
// TITLE: C++0x =delete functions unavailable
|
||||||
// DESCRIPTION: The compiler does not support C++0x =delete functions
|
// DESCRIPTION: The compiler does not support C++0x =delete functions
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X)
|
||||||
# error Deleted functions aren't really supported in non-C++0x mode
|
# error Deleted functions aren't really supported in non-C++0x mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// TITLE: C++0x explicit conversion operators unavailable
|
// TITLE: C++0x explicit conversion operators unavailable
|
||||||
// DESCRIPTION: The compiler does not support C++0x explicit conversion operators
|
// DESCRIPTION: The compiler does not support C++0x explicit conversion operators
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X)
|
||||||
# error This feature isn't really available in non-C++0x mode
|
# error This feature isn't really available in non-C++0x mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// TITLE: C++0x lambda feature unavailable
|
// TITLE: C++0x lambda feature unavailable
|
||||||
// DESCRIPTION: The compiler does not support the C++0x lambda feature
|
// DESCRIPTION: The compiler does not support the C++0x lambda feature
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__) && !defined(BOOST_INTEL_STDCXX0X)
|
||||||
# error This feature isn't really available in non-C++0x mode
|
# error This feature isn't really available in non-C++0x mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
23
test/boost_no_noexcept.ipp
Normal file
23
test/boost_no_noexcept.ipp
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
// Copyright (C) 2011 Takaya Saito
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_NO_NOEXCEPT
|
||||||
|
// TITLE: C++0x noexcept unavailable
|
||||||
|
// DESCRIPTION: The compiler does not support C++0x noexcept
|
||||||
|
|
||||||
|
namespace boost_no_noexcept {
|
||||||
|
|
||||||
|
int f() noexcept ;
|
||||||
|
int g() noexcept( noexcept( f() ) ) ;
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
bool b = noexcept( g() );
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
53
test/boost_no_unified_init.ipp
Normal file
53
test/boost_no_unified_init.ipp
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
// Copyright (C) 2011 John Maddock
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for most recent version.
|
||||||
|
|
||||||
|
// MACRO: BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
// TITLE: C++0x unified initialization syntax unavailable
|
||||||
|
// DESCRIPTION: The compiler does not support C++0x unified initialization syntax: see http://en.wikipedia.org/wiki/C%2B%2B0x#Uniform_initialization
|
||||||
|
|
||||||
|
namespace boost_no_unified_initialization_syntax {
|
||||||
|
|
||||||
|
struct BasicStruct
|
||||||
|
{
|
||||||
|
int x;
|
||||||
|
double y;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct AltStruct
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
AltStruct(int x, double y) : x_{x}, y_{y} {}
|
||||||
|
private:
|
||||||
|
int x_;
|
||||||
|
double y_;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct IdString
|
||||||
|
{
|
||||||
|
std::string name;
|
||||||
|
int identifier;
|
||||||
|
bool operator == (const IdString& other)
|
||||||
|
{
|
||||||
|
return identifier == other.identifier && name == other.name;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
IdString get_string()
|
||||||
|
{
|
||||||
|
return {"SomeName", 4}; //Note the lack of explicit type.
|
||||||
|
}
|
||||||
|
|
||||||
|
int test()
|
||||||
|
{
|
||||||
|
BasicStruct var1{5, 3.2};
|
||||||
|
AltStruct var2{2, 4.3};
|
||||||
|
|
||||||
|
IdString id{"SomeName", 4};
|
||||||
|
return id == get_string() ? 0 : 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1027,6 +1027,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_NOEXCEPT);
|
||||||
PRINT_MACRO(BOOST_NO_NULLPTR);
|
PRINT_MACRO(BOOST_NO_NULLPTR);
|
||||||
PRINT_MACRO(BOOST_NO_NUMERIC_LIMITS_LOWEST);
|
PRINT_MACRO(BOOST_NO_NUMERIC_LIMITS_LOWEST);
|
||||||
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
PRINT_MACRO(BOOST_NO_OPERATORS_IN_NAMESPACE);
|
||||||
@ -1066,6 +1067,7 @@ void print_boost_macros()
|
|||||||
PRINT_MACRO(BOOST_NO_TYPEID);
|
PRINT_MACRO(BOOST_NO_TYPEID);
|
||||||
PRINT_MACRO(BOOST_NO_TYPENAME_WITH_CTOR);
|
PRINT_MACRO(BOOST_NO_TYPENAME_WITH_CTOR);
|
||||||
PRINT_MACRO(BOOST_NO_UNICODE_LITERALS);
|
PRINT_MACRO(BOOST_NO_UNICODE_LITERALS);
|
||||||
|
PRINT_MACRO(BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX);
|
||||||
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION);
|
||||||
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE);
|
||||||
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
PRINT_MACRO(BOOST_NO_USING_TEMPLATE);
|
||||||
@ -1075,6 +1077,8 @@ void print_boost_macros()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// END GENERATED BLOCK
|
// END GENERATED BLOCK
|
||||||
|
|
||||||
PRINT_MACRO(BOOST_INTEL);
|
PRINT_MACRO(BOOST_INTEL);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// This file was automatically generated on Tue Mar 15 12:25:21 2011
|
// This file was automatically generated on Mon May 09 12:11:18 2011
|
||||||
// by libs/config/tools/generate.cpp
|
// by libs/config/tools/generate.cpp
|
||||||
// Copyright John Maddock 2002-4.
|
// Copyright John Maddock 2002-4.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
@ -367,6 +367,11 @@ namespace boost_no_pointer_to_member_template_parameters = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_nested_friendship = empty_boost;
|
namespace boost_no_nested_friendship = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_NOEXCEPT
|
||||||
|
#include "boost_no_noexcept.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_noexcept = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_NO_NULLPTR
|
#ifndef BOOST_NO_NULLPTR
|
||||||
#include "boost_no_nullptr.ipp"
|
#include "boost_no_nullptr.ipp"
|
||||||
#else
|
#else
|
||||||
@ -552,6 +557,11 @@ namespace boost_no_typename_with_ctor = empty_boost;
|
|||||||
#else
|
#else
|
||||||
namespace boost_no_unicode_literals = empty_boost;
|
namespace boost_no_unicode_literals = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
#include "boost_no_unified_init.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_unified_initialization_syntax = empty_boost;
|
||||||
|
#endif
|
||||||
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
#ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
|
||||||
#include "boost_no_using_breaks_adl.ipp"
|
#include "boost_no_using_breaks_adl.ipp"
|
||||||
#else
|
#else
|
||||||
@ -1436,6 +1446,11 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_NESTED_FRIENDSHIP at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_NESTED_FRIENDSHIP at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_no_noexcept::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_NO_NOEXCEPT at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_no_nullptr::test())
|
if(0 != boost_no_nullptr::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_NO_NULLPTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_NULLPTR at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
@ -1621,6 +1636,11 @@ int main( int, char *[] )
|
|||||||
std::cerr << "Failed test for BOOST_NO_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_NO_UNICODE_LITERALS at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
++error_count;
|
++error_count;
|
||||||
}
|
}
|
||||||
|
if(0 != boost_no_unified_initialization_syntax::test())
|
||||||
|
{
|
||||||
|
std::cerr << "Failed test for BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
++error_count;
|
||||||
|
}
|
||||||
if(0 != boost_function_scope_using_declaration_breaks_adl::test())
|
if(0 != boost_function_scope_using_declaration_breaks_adl::test())
|
||||||
{
|
{
|
||||||
std::cerr << "Failed test for BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
std::cerr << "Failed test for BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||||
|
37
test/no_noexcept_fail.cpp
Normal file
37
test/no_noexcept_fail.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu May 5 04:40:08 2011
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_NOEXCEPT
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_NOEXCEPT should not be defined.
|
||||||
|
// See file boost_no_noexcept.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_NOEXCEPT
|
||||||
|
#include "boost_no_noexcept.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_noexcept::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_noexcept_pass.cpp
Normal file
37
test/no_noexcept_pass.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Thu May 5 04:40:08 2011
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id$
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_NOEXCEPT
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_NOEXCEPT should be defined.
|
||||||
|
// See file boost_no_noexcept.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_NOEXCEPT
|
||||||
|
#include "boost_no_noexcept.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_noexcept = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_noexcept::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_unified_init_fail.cpp
Normal file
37
test/no_unified_init_fail.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Mon May 09 12:11:17 2011
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id: generate.cpp 70001 2011-03-15 13:17:46Z johnmaddock $
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
// This file should not compile, if it does then
|
||||||
|
// BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX should not be defined.
|
||||||
|
// See file boost_no_unified_init.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifdef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
#include "boost_no_unified_init.ipp"
|
||||||
|
#else
|
||||||
|
#error "this file should not compile"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_unified_initialization_syntax::test();
|
||||||
|
}
|
||||||
|
|
37
test/no_unified_init_pass.cpp
Normal file
37
test/no_unified_init_pass.cpp
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
// This file was automatically generated on Mon May 09 12:11:17 2011
|
||||||
|
// by libs/config/tools/generate.cpp
|
||||||
|
// Copyright John Maddock 2002-4.
|
||||||
|
// Use, modification and distribution are subject to the
|
||||||
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/config for the most recent version.//
|
||||||
|
// Revision $Id: generate.cpp 70001 2011-03-15 13:17:46Z johnmaddock $
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
// Test file for macro BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
// This file should compile, if it does not then
|
||||||
|
// BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX should be defined.
|
||||||
|
// See file boost_no_unified_init.ipp for details
|
||||||
|
|
||||||
|
// Must not have BOOST_ASSERT_CONFIG set; it defeats
|
||||||
|
// the objective of this file:
|
||||||
|
#ifdef BOOST_ASSERT_CONFIG
|
||||||
|
# undef BOOST_ASSERT_CONFIG
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include "test.hpp"
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
#include "boost_no_unified_init.ipp"
|
||||||
|
#else
|
||||||
|
namespace boost_no_unified_initialization_syntax = empty_boost;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int main( int, char *[] )
|
||||||
|
{
|
||||||
|
return boost_no_unified_initialization_syntax::test();
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user