diff --git a/doc/configuring_boost.qbk b/doc/configuring_boost.qbk index dc3d933e..2e444bab 100644 --- a/doc/configuring_boost.qbk +++ b/doc/configuring_boost.qbk @@ -111,7 +111,7 @@ There are two ways you can use this header: the default user.hpp provided by boost. This option allows only one configure-generated setup; boost developers should avoid this option, as it incurs the danger of accidentally committing a configure-modified -__BOOST_CONFIG_USER_HEADER__ to the cvs repository (something you will not +__BOOST_CONFIG_USER_HEADER__ to the svn repository (something you will not be thanked for!). * [*Option 2:] give the header a more memorable name, and place it somewhere @@ -237,7 +237,7 @@ than static libraries on Microsoft Windows (this macro is used to turn on to look for in a dll rather than in a static library). Note that there may be some libraries that can only be statically linked (Boost.Test for example) and others which may only be dynamically linked -(Boost.Threads for example), in these cases this macro has no effect. +(Boost.Thread for example), in these cases this macro has no effect. ]] [[`BOOST_`['WHATEVER]`_DYN_LINK`][ Forces library "whatever" to be linked as a dll rather than a static library @@ -248,7 +248,7 @@ to turn on `__declspec(dllimport)` modifiers, so that the compiler knows which symbols to look for in a dll rather than in a static library). Note that there may be some libraries that can only be statically linked (Boost.Test for example) and others which may only be dynamically linked -(Boost.Threads for example), in these cases this macro is unsupported. +(Boost.Thread for example), in these cases this macro is unsupported. ]] [[`BOOST_ALL_NO_LIB`][ Tells the config system not to automatically select which libraries to link @@ -307,7 +307,7 @@ boost macro being set implies that another must be set also. The following usage examples represent just a few of the possibilities: -[section Example 1, creating our own frozen configuration] +[section Example 1: creating our own frozen configuration] Lets suppose that we're building boost with Visual C++ 6, and STLport 4.0. Lets suppose also that we don't intend to update our compiler or standard library @@ -346,8 +346,8 @@ configuration macros setting. In a case like this, you can define `BOOST_NO_COMPILER_CONFIG` either on the command line, or in __BOOST_CONFIG_USER_HEADER__, and miss out the compiler configuration header altogether (actually you miss out two headers, one which works out what the compiler is, and one that configures -boost for it). This has two consequences: the first is that less code has to be c -ompiled, and the second that you have removed a dependency on two boost headers. +boost for it). This has two consequences: the first is that less code has to be +compiled, and the second that you have removed a dependency on two boost headers. [endsect] diff --git a/doc/guidelines.qbk b/doc/guidelines.qbk index 83f6418e..93436457 100644 --- a/doc/guidelines.qbk +++ b/doc/guidelines.qbk @@ -62,7 +62,7 @@ majority of compilers, such as namespaces, exceptions, RTTI, or templates. [section:warnings Disabling Compiler Warnings] The header `` can be used to disable -certain compiler warings that are hard or impossible to otherwise remove. +certain compiler warnings that are hard or impossible to otherwise remove. Note that: diff --git a/doc/html/boost_config/acknowledgements.html b/doc/html/boost_config/acknowledgements.html index 8286d72d..2e961d14 100644 --- a/doc/html/boost_config/acknowledgements.html +++ b/doc/html/boost_config/acknowledgements.html @@ -21,7 +21,7 @@
PrevUpHome
-
+
diff --git a/doc/html/boost_config/boost_macro_reference.html b/doc/html/boost_config/boost_macro_reference.html index e90f2701..25ec1a13 100644 --- a/doc/html/boost_config/boost_macro_reference.html +++ b/doc/html/boost_config/boost_macro_reference.html @@ -22,7 +22,7 @@
PrevUpHomeNext
-
+ -
+

Macros that describe C++03 defects @@ -315,7 +317,7 @@

The compiler fails to compile a nested class that has a dependent - base class: + base class:

template<typename T>
 struct foo : {
@@ -341,9 +343,8 @@
 
                 

Template value parameters cannot have a dependent type, for example: -

-
template<class T, typename T::type value> 
+
template<class T, typename T::type value>
 class X { ... };
 

@@ -422,7 +423,7 @@

The compiler does not perform function template ordering or its - function template ordering is incorrect. + function template ordering is incorrect.

// #1
 template<class T> void f(T);
@@ -1314,7 +1315,7 @@
 
                 

The compiler does not allow a void function to return the result - of calling another void function. + of calling another void function.

void f() {}
 void g() { return f(); }
@@ -1326,7 +1327,7 @@
 
 

-
+
-
+
-
+

Macros that describe C++11 features not supported @@ -2305,7 +2306,32 @@

- BOOST_NO_0X_HDR_ARRAY + BOOST_NO_CXX11_ALLOCATOR +

+ + +

+ The standard library does not provide a C++11 version of std::allocator in <memory>. +

+ + + + +

+ BOOST_NO_CXX11_ATOMIC_SP +

+ + +

+ The standard library <memory> does not support atomic smart + pointer operations. +

+ + + + +

+ BOOST_NO_CXX11_HDR_ARRAY

@@ -2317,7 +2343,7 @@

- BOOST_NO_0X_HDR_CHRONO + BOOST_NO_CXX11_HDR_CHRONO

@@ -2329,7 +2355,7 @@

- BOOST_NO_0X_HDR_CODECVT + BOOST_NO_CXX11_HDR_CODECVT

@@ -2341,7 +2367,7 @@

- BOOST_NO_0X_HDR_CONDITION_VARIABLE + BOOST_NO_CXX11_HDR_CONDITION_VARIABLE

@@ -2353,7 +2379,7 @@

- BOOST_NO_0X_HDR_FORWARD_LIST + BOOST_NO_CXX11_HDR_FORWARD_LIST

@@ -2365,7 +2391,20 @@

- BOOST_NO_0X_HDR_FUTURE + BOOST_NO_CXX11_HDR_FUNCTIONAL +

+ + +

+ The standard library does not provide a C++11 compatible version + of <functional>. +

+ + + + +

+ BOOST_NO_CXX11_HDR_FUTURE

@@ -2377,7 +2416,7 @@

- BOOST_NO_0X_HDR_INITIALIZER_LIST + BOOST_NO_CXX11_HDR_INITIALIZER_LIST

@@ -2389,7 +2428,7 @@

- BOOST_NO_0X_HDR_MUTEX + BOOST_NO_CXX11_HDR_MUTEX

@@ -2401,7 +2440,7 @@

- BOOST_NO_0X_HDR_RANDOM + BOOST_NO_CXX11_HDR_RANDOM

@@ -2413,7 +2452,7 @@

- BOOST_NO_0X_HDR_RATIO + BOOST_NO_CXX11_HDR_RATIO

@@ -2425,7 +2464,7 @@

- BOOST_NO_0X_HDR_REGEX + BOOST_NO_CXX11_HDR_REGEX

@@ -2437,7 +2476,7 @@

- BOOST_NO_0X_HDR_SYSTEM_ERROR + BOOST_NO_CXX11_HDR_SYSTEM_ERROR

@@ -2449,7 +2488,7 @@

- BOOST_NO_0X_HDR_THREAD + BOOST_NO_CXX11_HDR_THREAD

@@ -2461,7 +2500,7 @@

- BOOST_NO_0X_HDR_TUPLE + BOOST_NO_CXX11_HDR_TUPLE

@@ -2473,7 +2512,7 @@

- BOOST_NO_0X_HDR_TYPEINDEX + BOOST_NO_CXX11_HDR_TYPEINDEX

@@ -2485,7 +2524,7 @@

- BOOST_NO_0X_HDR_TYPE_TRAITS + BOOST_NO_CXX11_HDR_TYPE_TRAITS

@@ -2497,7 +2536,7 @@

- BOOST_NO_0X_HDR_UNORDERED_MAP + BOOST_NO_CXX11_HDR_UNORDERED_MAP

@@ -2509,7 +2548,7 @@

- BOOST_NO_0X_HDR_UNORDERED_SET + BOOST_NO_CXX11_HDR_UNORDERED_SET

@@ -2519,6 +2558,19 @@ + +

+ BOOST_NO_CXX11_SMART_PTR +

+ + +

+ The standard library header <memory> has no shared_ptr and + unique_ptr. +

+ + +

BOOST_NO_AUTO_DECLARATIONS @@ -2690,18 +2742,6 @@ - -

- BOOST_NO_INITIALIZER_LISTS -

- - -

- The C++ compiler does not support C++0x initializer lists. -

- - -

BOOST_NO_LAMBDAS @@ -2714,6 +2754,20 @@ + +

+ BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +

+ + +

+ The compiler does not allow to pass local classes as template parameters + (this macro intentionally does not control passing of unnamed types + as template parameters, see also N2657). +

+ + +

BOOST_NO_LONG_LONG @@ -2876,7 +2930,7 @@

-
+

Macros that allow use of C++11 features with C++03 compilers @@ -2896,11 +2950,6 @@ Macro

- -

- Section -

-

Description @@ -2918,12 +2967,12 @@

Some compilers don't support the use of constexpr. This macro expands to nothing on those compilers, and constexpr elsewhere. For example, - when defining a constexpr function or constructor replace: + when defining a constexpr function or constructor replace:

constexpr tuple();
 

- with: + with:

BOOST_CONSTEXPR tuple();
 
@@ -2943,12 +2992,11 @@ This macro expands to const on those compilers, and constexpr elsewhere. For example, when defining const expr variables replace: -

static constexpr UIntType xor_mask = a;
 

- with: + with:

static BOOST_CONSTEXPR_OR_CONST UIntType xor_mask = a;
 
@@ -2965,13 +3013,13 @@

This is a shortcut for static - BOOST_CONSTEXPR_OR_CONSTFor - example, when defining const expr variables replace: + BOOST_CONSTEXPR_OR_CONST. + For example, when defining const expr variables replace:

static constexpr UIntType xor_mask = a;
 

- with: + with:

BOOST_STATIC_CONSTEXPR UIntType xor_mask = a;
 
@@ -2982,7 +3030,6 @@

-

BOOST_NOEXCEPT
 BOOST_NOEXCEPT_IF(Predicate)
@@ -2999,7 +3046,6 @@
                 

-

#define BOOST_NOEXCEPT
 #define BOOST_NOEXCEPT_IF(Predicate)
@@ -3015,7 +3061,6 @@
                 

-

#define BOOST_NOEXCEPT noexcept
 #define BOOST_NOEXCEPT_IF(Predicate) noexcept((Predicate))
@@ -3029,7 +3074,7 @@
 
 
-
+

Boost Helper Macros @@ -3066,12 +3111,12 @@

This macro is used where a compiler specific workaround is required that is not otherwise described by one of the other Boost.Config - macros. To use the macro you must first + macros. To use the macro you must first

#include <boost/detail/workaround.hpp>
 

- usage is then: + usage is then:

#if BOOST_WORKAROUND(MACRONAME, CONDITION)
    // workaround code goes here...
@@ -3114,12 +3159,12 @@
                   Sometimes you have a function name with the same name as a C macro,
                   for example "min" and "max" member functions,
                   in which case one can prevent the function being expanded as a
-                  macro using: 
+                  macro using:
 

someclass.min BOOST_PREVENT_MACRO_SUBSTITUTION(arg1, arg2);
 

- The following also works in most, but not all, contexts: + The following also works in most, but not all, contexts:

(someclass.max)(arg1, arg2);
 
@@ -3214,14 +3259,14 @@ integral constant members, we must use enums as a workaround if we want the constants to be available at compile-time. This macro gives us a convenient way to declare such constants. For example - instead of: + instead of:

struct foo{
    static const int value = 2;
 };
 

- use: + use:

struct foo{
    BOOST_STATIC_CONSTANT(int, value = 2);
@@ -3254,7 +3299,7 @@
                 

Some compilers silently "fold" different function template instantiations if some of the template parameters don't appear - in the function parameter list. For instance: + in the function parameter list. For instance:

#include <iostream>
 #include <ostream>
@@ -3278,7 +3323,7 @@
                   incorrectly outputs 2 2 double double on VC++
                   6. These macros, to be used in the function parameter list, fix
                   the problem without effects on the calling syntax. For instance,
-                  in the case above write: 
+                  in the case above write:
 

template <int n>
 void f(BOOST_EXPLICIT_TEMPLATE_NON_TYPE(int, n)) { ... }
@@ -3313,7 +3358,7 @@
               
 
                 

- When the standard library does not have a comforming std::use_facet there are various workarounds + When the standard library does not have a conforming std::use_facet there are various workarounds available, but they differ from library to library. This macro provides a consistent way to access a locale's facets. For example, replace: std::use_facet<Type>(loc); @@ -3404,7 +3449,7 @@ techniques.

- Usage example: + Usage example:

template<class T>
 BOOST_FORCEINLINE T& f(T& t)
@@ -3425,7 +3470,7 @@
 
 

-
+

Boost Informational Macros @@ -3703,7 +3748,429 @@

-
+
+ +

+ The following have been deprecated; please use the replacements instead. + They will be removed in a future version of boost. +

+
++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ Deprecated Macro +

+
+

+ Replacement +

+
+

+ When deprecated +

+
+

+ When removed +

+
+

+ BOOST_NO_0X_HDR_ARRAY +

+
+

+ BOOST_NO_CXX11_HDR_ARRAY +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_CHRONO +

+
+

+ BOOST_NO_CXX11_HDR_CHRONO +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_CODECVT +

+
+

+ BOOST_NO_CXX11_HDR_CODECVT +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_CONDITION_VARIABLE +

+
+

+ BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_FORWARD_LIST +

+
+

+ BOOST_NO_CXX11_HDR_FORWARD_LIST +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_FUTURE +

+
+

+ BOOST_NO_CXX11_HDR_FUTURE +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_INITIALIZER_LIST +

+
+

+ BOOST_NO_CXX11_HDR_INITIALIZER_LIST +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_INITIALIZER_LISTS +

+
+

+ BOOST_NO_CXX11_HDR_INITIALIZER_LIST +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_MUTEX +

+
+

+ BOOST_NO_CXX11_HDR_MUTEX +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_RANDOM +

+
+

+ BOOST_NO_CXX11_HDR_RANDOM +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_RATIO +

+
+

+ BOOST_NO_CXX11_HDR_RATIO +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_REGEX +

+
+

+ BOOST_NO_CXX11_HDR_REGEX +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_SYSTEM_ERROR +

+
+

+ BOOST_NO_CXX11_HDR_SYSTEM_ERROR +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_THREAD +

+
+

+ BOOST_NO_CXX11_HDR_THREAD +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_TUPLE +

+
+

+ BOOST_NO_CXX11_HDR_TUPLE +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_TYPE_TRAITS +

+
+

+ BOOST_NO_CXX11_HDR_TYPE_TRAITS +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_TYPEINDEX +

+
+

+ BOOST_NO_CXX11_HDR_TYPEINDEX +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_UNORDERED_SET +

+
+

+ BOOST_NO_CXX11_HDR_UNORDERED_SET +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_0X_HDR_UNORDERED_MAP +

+
+

+ BOOST_NO_CXX11_HDR_UNORDERED_MAP +

+
+

+ Boost 1.50 +

+
+
+

+ BOOST_NO_STD_UNORDERED +

+
+

+ BOOST_NO_CXX11_HDR_UNORDERED_SET +

+
+

+ Boost 1.50 +

+
+
+
+

Macros for libraries with separate source code @@ -3736,7 +4203,7 @@ See Guidelines for Authors of Boost Libraries Containing Separate Source

-
+

Macros controlling shared library symbol visibility @@ -3822,7 +4289,7 @@ RTTI. Examples include class for objects that will be thrown as exceptions or used in dynamic_casts, across shared library boundaries. For example, a header-only exception class might - look like this: + look like this:

class BOOST_SYMBOL_VISIBLE my_exception : public std::runtime_error { ... };
 
@@ -3860,7 +4327,7 @@ #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FOO_DYN_LINK) # if defined(BOOST_FOO_SOURCE) # define BOOST_FOO_DECL BOOST_SYMBOL_EXPORT -# else +# else # define BOOST_FOO_DECL BOOST_SYMBOL_IMPORT # endif #else @@ -3882,7 +4349,7 @@ boost/libs/foo/src/foo.cpp

#define BOOST_FOO_SOURCE
-#include <boost/foo/foo.hpp>    
+#include <boost/foo/foo.hpp>
 ...
 void BOOST_FOO_DECL f()
 {
@@ -3891,7 +4358,7 @@
 ...
 

-
+

ABI Fixing @@ -3949,7 +4416,7 @@ to point to their own prefix/suffix headers if they so wish.

-
+

Automatic library selection diff --git a/doc/html/boost_config/guidelines_for_boost_authors.html b/doc/html/boost_config/guidelines_for_boost_authors.html index cbc7dbce..e461783e 100644 --- a/doc/html/boost_config/guidelines_for_boost_authors.html +++ b/doc/html/boost_config/guidelines_for_boost_authors.html @@ -22,7 +22,7 @@
PrevUpHomeNext
-
+

Guidelines for Boost Authors @@ -103,14 +103,14 @@ the majority of compilers, such as namespaces, exceptions, RTTI, or templates.

-
+

The header <boost/config/warning_disable.hpp> - can be used to disable certain compiler warings that are hard or impossible + can be used to disable certain compiler warnings that are hard or impossible to otherwise remove.

@@ -182,7 +182,7 @@

-
+

Adding New Defect Macros @@ -285,7 +285,7 @@

-
+

Adding New Feature Test Macros @@ -309,7 +309,7 @@ <unistd.h>).

-
+

Modifying the Boost Configuration Headers diff --git a/doc/html/boost_config/rationale.html b/doc/html/boost_config/rationale.html index d62510c1..cf175845 100644 --- a/doc/html/boost_config/rationale.html +++ b/doc/html/boost_config/rationale.html @@ -22,7 +22,7 @@
PrevUpHomeNext
-
+
@@ -39,7 +39,7 @@ principles from the following article.

-
+
@@ -90,7 +90,7 @@ code must be provided.

-
+
diff --git a/doc/html/index.html b/doc/html/index.html index 9dc678b1..21c0b2f6 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -29,7 +29,7 @@
-

+

Distributed under 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)

@@ -72,6 +72,8 @@ Helper Macros
Boost Informational Macros
+
Boost + Deprecated Macros
Macros for libraries with separate source code
@@ -95,7 +97,7 @@
Acknowledgements
-
+
-
+

Using the default boost configuration @@ -138,7 +140,7 @@ and submitting a support request.

-
+

The <boost/config.hpp> header @@ -169,7 +171,7 @@ developers list.

-
+

Using the configure script @@ -277,7 +279,7 @@ export CXXFLAGS="-Aa -DAportable -D__HPACC_THREAD_SAFE_RB_TREE \ -DRWSTD_MULTI_THREAD -DRW_MULTI_THREAD -D_REENTRANT -D_THREAD_SAFE" export LDFLAGS="-DAportable" -export LIBS="-lpthread" +export LIBS="-lpthread" sh ./configure

@@ -296,7 +298,7 @@ provided by boost. This option allows only one configure-generated setup; boost developers should avoid this option, as it incurs the danger of accidentally committing a configure-modified <boost/config/user.hpp> - to the cvs repository (something you will not be thanked for!). + to the svn repository (something you will not be thanked for!).

  • Option 2: give the header a more memorable @@ -311,7 +313,7 @@
  • -
    +

    User settable options @@ -585,7 +587,7 @@ knows which symbols to look for in a dll rather than in a static library). Note that there may be some libraries that can only be statically linked (Boost.Test for example) and others which may - only be dynamically linked (Boost.Threads for example), in these + only be dynamically linked (Boost.Thread for example), in these cases this macro has no effect.

    @@ -607,7 +609,7 @@ knows which symbols to look for in a dll rather than in a static library). Note that there may be some libraries that can only be statically linked (Boost.Test for example) and others which may - only be dynamically linked (Boost.Threads for example), in these + only be dynamically linked (Boost.Thread for example), in these cases this macro is unsupported.

    @@ -677,14 +679,14 @@

    -
    +
    Example - 1, creating our own frozen configuration
    + 1: creating our own frozen configuration
    Example 2: skipping files that you don't need
    Example @@ -721,10 +723,10 @@

    The following usage examples represent just a few of the possibilities:

    -
    +

    Lets suppose that we're building boost with Visual C++ 6, and STLport 4.0. @@ -753,7 +755,7 @@ yet supported by boost.

    -
    +

    Example 2: skipping files that you don't need @@ -768,11 +770,11 @@ and miss out the compiler configuration header altogether (actually you miss out two headers, one which works out what the compiler is, and one that configures boost for it). This has two consequences: the first is - that less code has to be c ompiled, and the second that you have removed + that less code has to be compiled, and the second that you have removed a dependency on two boost headers.

    -
    +
    -
    +

    Testing the boost configuration @@ -949,7 +951,7 @@

    - +

    Last revised: October 11, 2011 at 17:21:29 GMT

    Last revised: April 22, 2012 at 10:30:25 GMT


    diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index c5dad035..58c264e0 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -538,24 +538,28 @@ that are not yet supported by a particular compiler or library. [table [[Macro ][Description ]] -[[`BOOST_NO_0X_HDR_ARRAY`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_CHRONO`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_CODECVT`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_CONDITION_VARIABLE`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_FORWARD_LIST`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_FUTURE`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_INITIALIZER_LIST`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_MUTEX`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_RANDOM`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_RATIO`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_REGEX`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_SYSTEM_ERROR`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_THREAD`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_TUPLE`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_TYPEINDEX`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_TYPE_TRAITS`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_UNORDERED_MAP`][The standard library does not provide header .]] -[[`BOOST_NO_0X_HDR_UNORDERED_SET`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_ALLOCATOR`][The standard library does not provide a C++11 version of `std::allocator` in .]] +[[`BOOST_NO_CXX11_ATOMIC_SP`][The standard library does not support atomic smart pointer operations.]] +[[`BOOST_NO_CXX11_HDR_ARRAY`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_CHRONO`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_CODECVT`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_CONDITION_VARIABLE`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_FORWARD_LIST`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_FUNCTIONAL`][The standard library does not provide a C++11 compatible version of .]] +[[`BOOST_NO_CXX11_HDR_FUTURE`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_INITIALIZER_LIST`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_MUTEX`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_RANDOM`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_RATIO`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_REGEX`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_SYSTEM_ERROR`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_THREAD`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_TUPLE`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_TYPEINDEX`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_TYPE_TRAITS`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_HDR_UNORDERED_SET`][The standard library does not provide header .]] +[[`BOOST_NO_CXX11_SMART_PTR`][The standard library header has no shared_ptr and unique_ptr.]] [[`BOOST_NO_AUTO_DECLARATIONS`][The compiler does not support type deduction for variables declared with the `auto` keyword (`auto var = ...;`). @@ -596,11 +600,13 @@ explicit instantiation forward declarations for templates (`extern template ...` [[`BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS`][The compiler does not support default template arguments for function templates. ]] -[[`BOOST_NO_INITIALIZER_LISTS`][ -The C++ compiler does not support C++0x initializer lists. -]] [[`BOOST_NO_LAMBDAS`][The compiler does not support Lambdas. ]] +[[`BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS`][The compiler does not allow to +pass local classes as template parameters (this macro intentionally does not +control passing of unnamed types as template parameters, see also +[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm N2657]). +]] [[`BOOST_NO_LONG_LONG`][The compiler does not support `long long`. ]] [[`BOOST_NO_NOEXCEPT`][The compiler does not support `noexcept`. @@ -648,7 +654,7 @@ The following macros allow use of C++11 features even with compilers that do not provide compliant C++11 support. [table -[[Macro ][Section ][ Description ]] +[[Macro ][ Description ]] [[`BOOST_CONSTEXPR`][ Some compilers don't support the use of `constexpr`. This macro expands to nothing on those compilers, and `constexpr` @@ -673,7 +679,7 @@ with: `` ]] [[`BOOST_STATIC_CONSTEXPR`][ -This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`For example, when defining const expr variables replace: +This is a shortcut for `static BOOST_CONSTEXPR_OR_CONST`. For example, when defining const expr variables replace: `` static constexpr UIntType xor_mask = a; `` @@ -853,7 +859,7 @@ must be used when the macro invocation appears after a normal parameter declaration or after the invocation of another macro of this same group. ]] [[`BOOST_USE_FACET(Type, loc)`][ -When the standard library does not have a comforming `std::use_facet` there +When the standard library does not have a conforming `std::use_facet` there are various workarounds available, but they differ from library to library. This macro provides a consistent way to access a locale's facets. For example, replace: @@ -980,6 +986,41 @@ the configuration. [endsect] +[#deprecated_macros] + +[section Boost Deprecated Macros] + +The following have been deprecated; please use the replacements instead. +They will be removed in a future version of boost. + +[table + +[[Deprecated Macro][Replacement][When deprecated][When removed]] + +[[`BOOST_NO_0X_HDR_ARRAY`][`BOOST_NO_CXX11_HDR_ARRAY`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_CHRONO`][`BOOST_NO_CXX11_HDR_CHRONO`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_CODECVT`][`BOOST_NO_CXX11_HDR_CODECVT`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_CONDITION_VARIABLE`][`BOOST_NO_CXX11_HDR_CONDITION_VARIABLE`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_FORWARD_LIST`][`BOOST_NO_CXX11_HDR_FORWARD_LIST`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_FUTURE`][`BOOST_NO_CXX11_HDR_FUTURE`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_INITIALIZER_LIST`][`BOOST_NO_CXX11_HDR_INITIALIZER_LIST`][Boost 1.50][]] +[[`BOOST_NO_INITIALIZER_LISTS`][`BOOST_NO_CXX11_HDR_INITIALIZER_LIST`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_MUTEX`][`BOOST_NO_CXX11_HDR_MUTEX`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_RANDOM`][`BOOST_NO_CXX11_HDR_RANDOM`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_RATIO`][`BOOST_NO_CXX11_HDR_RATIO`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_REGEX`][`BOOST_NO_CXX11_HDR_REGEX`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_SYSTEM_ERROR`][`BOOST_NO_CXX11_HDR_SYSTEM_ERROR`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_THREAD`][`BOOST_NO_CXX11_HDR_THREAD`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_TUPLE`][`BOOST_NO_CXX11_HDR_TUPLE`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_TYPE_TRAITS`][`BOOST_NO_CXX11_HDR_TYPE_TRAITS`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_TYPEINDEX`][`BOOST_NO_CXX11_HDR_TYPEINDEX`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_UNORDERED_SET`][`BOOST_NO_CXX11_HDR_UNORDERED_SET`][Boost 1.50][]] +[[`BOOST_NO_0X_HDR_UNORDERED_MAP`][`BOOST_NO_CXX11_HDR_UNORDERED_MAP`][Boost 1.50][]] +[[`BOOST_NO_STD_UNORDERED`][`BOOST_NO_CXX11_HDR_UNORDERED_SET`][Boost 1.50][]] +] + +[endsect] + [section Macros for libraries with separate source code] The following macros and helper headers are of use to authors whose libraries diff --git a/include/boost/config/compiler/borland.hpp b/include/boost/config/compiler/borland.hpp index 680e87bd..5917afd4 100644 --- a/include/boost/config/compiler/borland.hpp +++ b/include/boost/config/compiler/borland.hpp @@ -176,8 +176,9 @@ #define BOOST_NO_DEFAULTED_FUNCTIONS #define BOOST_NO_DELETED_FUNCTIONS #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS #define BOOST_NO_RVALUE_REFERENCES diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index a183f34b..976a92c0 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -8,8 +8,7 @@ // Clang compiler setup. -#if __has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) -#else +#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) # define BOOST_NO_EXCEPTIONS #endif @@ -24,6 +23,7 @@ #define BOOST_HAS_NRVO // Clang supports "long long" in all compilation modes. +#define BOOST_HAS_LONG_LONG #if !__has_feature(cxx_auto_type) # define BOOST_NO_AUTO_DECLARATIONS @@ -43,7 +43,9 @@ # define BOOST_NO_DECLTYPE #endif -#define BOOST_NO_DECLTYPE_N3276 +#if !__has_feature(cxx_decltype_incomplete_return_types) +# define BOOST_NO_DECLTYPE_N3276 +#endif #if !__has_feature(cxx_defaulted_functions) # define BOOST_NO_DEFAULTED_FUNCTIONS @@ -62,13 +64,17 @@ #endif #if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #endif #if !__has_feature(cxx_lambdas) # define BOOST_NO_LAMBDAS #endif +#if !__has_feature(cxx_local_type_template_args) +# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#endif + #if !__has_feature(cxx_noexcept) # define BOOST_NO_NOEXCEPT #endif diff --git a/include/boost/config/compiler/codegear.hpp b/include/boost/config/compiler/codegear.hpp index f1887a0c..27040049 100644 --- a/include/boost/config/compiler/codegear.hpp +++ b/include/boost/config/compiler/codegear.hpp @@ -98,8 +98,8 @@ #define BOOST_NO_DELETED_FUNCTIONS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS @@ -120,7 +120,7 @@ #define BOOST_HAS_MACRO_USE_FACET -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST // On non-Win32 platforms let the platform config figure this out: #ifdef _WIN32 diff --git a/include/boost/config/compiler/common_edg.hpp b/include/boost/config/compiler/common_edg.hpp index 10333ad2..a615a35b 100644 --- a/include/boost/config/compiler/common_edg.hpp +++ b/include/boost/config/compiler/common_edg.hpp @@ -64,7 +64,7 @@ #endif #if (__EDG_VERSION__ <= 310) // No support for initializer lists -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #endif #if (__EDG_VERSION__ < 400) # define BOOST_NO_VARIADIC_MACROS @@ -82,6 +82,7 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/cray.hpp b/include/boost/config/compiler/cray.hpp index ad2eeaf5..134275e5 100644 --- a/include/boost/config/compiler/cray.hpp +++ b/include/boost/config/compiler/cray.hpp @@ -42,6 +42,7 @@ #define BOOST_NO_NULLPTR #define BOOST_NO_NOEXCEPT #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_DELETED_FUNCTIONS diff --git a/include/boost/config/compiler/digitalmars.hpp b/include/boost/config/compiler/digitalmars.hpp index ed92306f..7386be7d 100644 --- a/include/boost/config/compiler/digitalmars.hpp +++ b/include/boost/config/compiler/digitalmars.hpp @@ -71,8 +71,9 @@ #define BOOST_NO_DELETED_FUNCTIONS #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 5a69cb49..5d9c75a2 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -146,9 +146,6 @@ # endif #endif -// C++0x features not implemented in any GCC version -// -#define BOOST_NO_TEMPLATE_ALIASES // C++0x features in 4.3.n and later // @@ -182,7 +179,7 @@ # define BOOST_NO_AUTO_MULTIDECLARATIONS # define BOOST_NO_CHAR16_T # define BOOST_NO_CHAR32_T -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_DEFAULTED_FUNCTIONS # define BOOST_NO_DELETED_FUNCTIONS #endif @@ -196,6 +193,7 @@ #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__) # define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS # define BOOST_NO_LAMBDAS +# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS # define BOOST_NO_RAW_LITERALS # define BOOST_NO_UNICODE_LITERALS #endif @@ -217,6 +215,9 @@ #define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX #endif +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__) +# define BOOST_NO_TEMPLATE_ALIASES +#endif // C++0x features not supported at all yet // #define BOOST_NO_DECLTYPE_N3276 diff --git a/include/boost/config/compiler/gcc_xml.hpp b/include/boost/config/compiler/gcc_xml.hpp index 61dcedcc..69905ae7 100644 --- a/include/boost/config/compiler/gcc_xml.hpp +++ b/include/boost/config/compiler/gcc_xml.hpp @@ -43,12 +43,13 @@ # define BOOST_NO_CHAR32_T # define BOOST_NO_DEFAULTED_FUNCTIONS # define BOOST_NO_DELETED_FUNCTIONS -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_SCOPED_ENUMS # define BOOST_NO_SFINAE_EXPR # define BOOST_NO_SCOPED_ENUMS # define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS # define BOOST_NO_LAMBDAS +# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS # define BOOST_NO_RAW_LITERALS # define BOOST_NO_UNICODE_LITERALS # define BOOST_NO_NOEXCEPT diff --git a/include/boost/config/compiler/hp_acc.hpp b/include/boost/config/compiler/hp_acc.hpp index 0d73b287..d8cfb8cc 100644 --- a/include/boost/config/compiler/hp_acc.hpp +++ b/include/boost/config/compiler/hp_acc.hpp @@ -104,8 +104,9 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index a1704a48..11909403 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -205,6 +205,7 @@ template<> struct assert_intrinsic_wchar_t {}; // http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/ // //# undef BOOST_NO_LAMBDAS +//# undef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS //# undef BOOST_NO_DECLTYPE //# undef BOOST_NO_AUTO_DECLARATIONS //# undef BOOST_NO_AUTO_MULTIDECLARATIONS @@ -216,6 +217,7 @@ template<> struct assert_intrinsic_wchar_t {}; # undef BOOST_NO_DELETED_FUNCTIONS # undef BOOST_NO_DEFAULTED_FUNCTIONS # undef BOOST_NO_LAMBDAS +# undef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS # undef BOOST_NO_DECLTYPE # undef BOOST_NO_AUTO_DECLARATIONS # undef BOOST_NO_AUTO_MULTIDECLARATIONS @@ -240,7 +242,7 @@ template<> struct assert_intrinsic_wchar_t {}; // // Although the Intel compiler is capable of supporting these, it appears not to in MSVC compatibility mode: // -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST # define BOOST_NO_VARIADIC_TEMPLATES # define BOOST_NO_DELETED_FUNCTIONS # define BOOST_NO_DEFAULTED_FUNCTIONS diff --git a/include/boost/config/compiler/metrowerks.hpp b/include/boost/config/compiler/metrowerks.hpp index 02baecdd..4a1edd47 100644 --- a/include/boost/config/compiler/metrowerks.hpp +++ b/include/boost/config/compiler/metrowerks.hpp @@ -104,8 +104,9 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/mpw.hpp b/include/boost/config/compiler/mpw.hpp index 45e1aa45..f328b3bb 100644 --- a/include/boost/config/compiler/mpw.hpp +++ b/include/boost/config/compiler/mpw.hpp @@ -52,8 +52,9 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/pathscale.hpp b/include/boost/config/compiler/pathscale.hpp index 94e44726..f5fe6e83 100644 --- a/include/boost/config/compiler/pathscale.hpp +++ b/include/boost/config/compiler/pathscale.hpp @@ -45,7 +45,7 @@ # define BOOST_NO_NUMERIC_LIMITS_LOWEST # define BOOST_NO_NOEXCEPT # define BOOST_NO_LAMBDAS -# define BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS # define BOOST_NO_MS_INT64_NUMERIC_LIMITS # define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS # define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS @@ -60,21 +60,21 @@ # define BOOST_NO_AUTO_MULTIDECLARATIONS # define BOOST_NO_AUTO_DECLARATIONS # define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX -# define BOOST_NO_0X_HDR_UNORDERED_SET -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_TYPEINDEX -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CHRONO #endif diff --git a/include/boost/config/compiler/pgi.hpp b/include/boost/config/compiler/pgi.hpp index 0ae8af58..72199ac6 100644 --- a/include/boost/config/compiler/pgi.hpp +++ b/include/boost/config/compiler/pgi.hpp @@ -1,6 +1,6 @@ // (C) Copyright Noel Belcourt 2007. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file +// 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 for most recent version. @@ -16,10 +16,30 @@ // if no threading API is detected. // -#if __PGIC__ >= 10 +#if __PGIC__ >= 11 // options requested by configure --enable-test #define BOOST_HAS_PTHREADS +#define BOOST_HAS_THREADS +#undef BOOST_HAS_PTHREAD_YIELD +#define BOOST_HAS_NRVO +#define BOOST_HAS_LONG_LONG + +// options --enable-test wants undefined +#undef BOOST_NO_STDC_NAMESPACE +#undef BOOST_NO_EXCEPTION_STD_NAMESPACE +#undef BOOST_DEDUCED_TYPENAME + +#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL +#define BOOST_NO_TWO_PHASE_NAME_LOOKUP +#define BOOST_NO_AUTO_MULTIDECLARATIONS +#define BOOST_NO_AUTO_DECLARATIONS +#define BOOST_NO_STD_UNORDERED + +#elif __PGIC__ >= 10 + +// options requested by configure --enable-test +#define BOOST_HAS_THREADS #define BOOST_HAS_NRVO #define BOOST_HAS_LONG_LONG @@ -30,7 +50,7 @@ #elif __PGIC__ >= 7 -#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL +#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #define BOOST_NO_TWO_PHASE_NAME_LOOKUP #define BOOST_NO_SWPRINTF #define BOOST_NO_AUTO_MULTIDECLARATIONS @@ -56,21 +76,42 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR +#define BOOST_NO_NUMERIC_LIMITS_LOWEST #define BOOST_NO_RAW_LITERALS #define BOOST_NO_RVALUE_REFERENCES #define BOOST_NO_SCOPED_ENUMS #define BOOST_NO_SFINAE_EXPR #define BOOST_NO_STATIC_ASSERT +#define BOOST_NO_SWPRINTF #define BOOST_NO_TEMPLATE_ALIASES #define BOOST_NO_UNICODE_LITERALS #define BOOST_NO_VARIADIC_TEMPLATES #define BOOST_NO_VARIADIC_MACROS #define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX +#define BOOST_NO_CXX11_HDR_UNORDERED_SET +#define BOOST_NO_CXX11_HDR_UNORDERED_MAP +#define BOOST_NO_CXX11_HDR_TYPEINDEX +#define BOOST_NO_CXX11_HDR_TYPE_TRAITS +#define BOOST_NO_CXX11_HDR_TUPLE +#define BOOST_NO_CXX11_HDR_THREAD +#define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +#define BOOST_NO_CXX11_HDR_REGEX +#define BOOST_NO_CXX11_HDR_RATIO +#define BOOST_NO_CXX11_HDR_RANDOM +#define BOOST_NO_CXX11_HDR_MUTEX +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +#define BOOST_NO_CXX11_HDR_FUTURE +#define BOOST_NO_CXX11_HDR_FORWARD_LIST +#define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +#define BOOST_NO_CXX11_HDR_CODECVT +#define BOOST_NO_CXX11_HDR_CHRONO +#define BOOST_NO_CXX11_HDR_ARRAY + // // version check: // probably nothing to do here? diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index eaf6c741..7d298e6c 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -111,8 +111,9 @@ #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_EXTERN_TEMPLATE #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index b0407aab..bad10711 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -95,8 +95,9 @@ // not enabled separately at this time # define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS #endif -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_LAMBDAS +#define BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_NOEXCEPT #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS diff --git a/include/boost/config/compiler/visualc.hpp b/include/boost/config/compiler/visualc.hpp index 1a13f0db..a2aea02d 100644 --- a/include/boost/config/compiler/visualc.hpp +++ b/include/boost/config/compiler/visualc.hpp @@ -9,38 +9,54 @@ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org for most recent version. - +// // Microsoft Visual C++ compiler setup: +// +// We need to be careful with the checks in this file, as contrary +// to popular belief there are versions with _MSC_VER with the final +// digit non-zero (mainly the MIPS cross compiler). +// +// So we either test _MSC_VER >= XXXX or else _MSC_VER < XXXX. +// No other comparisons (==, >, or <=) are safe. +// #define BOOST_MSVC _MSC_VER +// +// Helper macro BOOST_MSVC_FULL_VER for use in Boost code: +// #if _MSC_FULL_VER > 100000000 # define BOOST_MSVC_FULL_VER _MSC_FULL_VER #else # define BOOST_MSVC_FULL_VER (_MSC_FULL_VER * 10) #endif -// turn off the warnings before we #include anything +// Attempt to suppress VC6 warnings about the length of decorated names (obsolete): #pragma warning( disable : 4503 ) // warning: decorated name length exceeded +// +// versions check: +// we don't support Visual C++ prior to version 6: +#if _MSC_VER < 1200 +# error "Compiler not supported or configured - please reconfigure" +#endif + #if _MSC_VER < 1300 // 1200 == VC++ 6.0, 1200-1202 == eVC++4 # pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS # define BOOST_NO_VOID_RETURNS # define BOOST_NO_EXCEPTION_STD_NAMESPACE -# if BOOST_MSVC == 1202 +# if _MSC_VER == 1202 # define BOOST_NO_STD_TYPEINFO # endif - // disable min/max macro defines on vc6: - // #endif /// Visual Studio has no fenv.h #define BOOST_NO_FENV_H -#if (_MSC_VER <= 1300) // 1300 == VC++ 7.0 +#if (_MSC_VER < 1310) // 130X == VC++ 7.0 # if !defined(_MSC_EXTENSIONS) && !defined(BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS) // VC7 bug with /Za # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS @@ -72,7 +88,7 @@ # define BOOST_NO_IS_ABSTRACT # define BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS // TODO: what version is meant here? Have there really been any fixes in cl 12.01 (as e.g. shipped with eVC4)? -# if (_MSC_VER > 1200) +# if (_MSC_VER >= 1300) # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS # endif @@ -93,17 +109,16 @@ # define BOOST_NO_SWPRINTF #endif -#if _MSC_VER <= 1400 // 1400 == VC++ 8.0 +#if _MSC_VER < 1500 // 140X == VC++ 8.0 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS #endif -#if _MSC_VER == 1500 // 1500 == VC++ 9.0 +#if _MSC_VER < 1600 // 150X == VC++ 9.0 // A bug in VC9: # define BOOST_NO_ADL_BARRIER #endif -#if (_MSC_VER <= 1600) // MSVC (including the latest checked version) has not yet completely // implemented value-initialization, as is reported: // "VC++ does not value-initialize members of derived classes without @@ -117,11 +132,10 @@ // https://connect.microsoft.com/VisualStudio/feedback/details/100744 // See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues // (Niels Dekker, LKEB, May 2010) -#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#endif +# define BOOST_NO_COMPLETE_VALUE_INITIALIZATION -#if _MSC_VER <= 1500 || !defined(BOOST_STRICT_CONFIG) // 1500 == VC++ 9.0 -# define BOOST_NO_INITIALIZER_LISTS +#if _MSC_VER < 1600 || !defined(BOOST_STRICT_CONFIG) // 150X == VC++ 9.0 +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #endif #ifndef _NATIVE_WCHAR_T_DEFINED @@ -177,17 +191,17 @@ // C++ features supported by VC++ 10 (aka 2010) // #if _MSC_VER < 1600 -#define BOOST_NO_AUTO_DECLARATIONS -#define BOOST_NO_AUTO_MULTIDECLARATIONS -#define BOOST_NO_LAMBDAS -#define BOOST_NO_RVALUE_REFERENCES -#define BOOST_NO_STATIC_ASSERT -#define BOOST_NO_NULLPTR -#define BOOST_NO_DECLTYPE +# define BOOST_NO_AUTO_DECLARATIONS +# define BOOST_NO_AUTO_MULTIDECLARATIONS +# define BOOST_NO_LAMBDAS +# define BOOST_NO_RVALUE_REFERENCES +# define BOOST_NO_STATIC_ASSERT +# define BOOST_NO_NULLPTR +# define BOOST_NO_DECLTYPE #endif // _MSC_VER < 1600 #if _MSC_VER >= 1600 -#define BOOST_HAS_STDINT_H +# define BOOST_HAS_STDINT_H #endif // C++0x features not supported by any versions @@ -199,7 +213,7 @@ #define BOOST_NO_DELETED_FUNCTIONS #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS -#define BOOST_NO_INITIALIZER_LISTS +#define BOOST_NO_CXX11_HDR_INITIALIZER_LIST #define BOOST_NO_NOEXCEPT #define BOOST_NO_RAW_LITERALS #define BOOST_NO_SCOPED_ENUMS @@ -230,13 +244,20 @@ // Note: these are so far off, they are not really supported # elif _MSC_VER < 1300 // eVC++ 4 comes with 1200-1202 # define BOOST_COMPILER_VERSION evc4.0 -# elif _MSC_VER == 1400 +# elif _MSC_VER < 1400 + // Note: I'm not aware of any CE compiler with version 13xx +# if defined(BOOST_ASSERT_CONFIG) +# error "Unknown EVC++ compiler version - please run the configure tests and report the results" +# else +# pragma message("Unknown EVC++ compiler version - please run the configure tests and report the results") +# endif +# elif _MSC_VER < 1500 # define BOOST_COMPILER_VERSION evc8 -# elif _MSC_VER == 1500 +# elif _MSC_VER < 1600 # define BOOST_COMPILER_VERSION evc9 -# elif _MSC_VER == 1600 +# elif _MSC_VER < 1700 # define BOOST_COMPILER_VERSION evc10 -# elif _MSC_VER == 1700 +# elif _MSC_VER < 1800 # define BOOST_COMPILER_VERSION evc11 # else # if defined(BOOST_ASSERT_CONFIG) @@ -251,17 +272,17 @@ # define BOOST_COMPILER_VERSION 5.0 # elif _MSC_VER < 1300 # define BOOST_COMPILER_VERSION 6.0 -# elif _MSC_VER == 1300 +# elif _MSC_VER < 1310 # define BOOST_COMPILER_VERSION 7.0 -# elif _MSC_VER == 1310 +# elif _MSC_VER < 1400 # define BOOST_COMPILER_VERSION 7.1 -# elif _MSC_VER == 1400 +# elif _MSC_VER < 1500 # define BOOST_COMPILER_VERSION 8.0 -# elif _MSC_VER == 1500 +# elif _MSC_VER < 1600 # define BOOST_COMPILER_VERSION 9.0 -# elif _MSC_VER == 1600 +# elif _MSC_VER < 1700 # define BOOST_COMPILER_VERSION 10.0 -# elif _MSC_VER == 1700 +# elif _MSC_VER < 1800 # define BOOST_COMPILER_VERSION 11.0 # else # define BOOST_COMPILER_VERSION _MSC_VER @@ -270,12 +291,6 @@ #define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) -// -// versions check: -// we don't support Visual C++ prior to version 6: -#if _MSC_VER < 1200 -#error "Compiler not supported or configured - please reconfigure" -#endif // // last known and checked version is 1700 (VC11, aka 2011): #if (_MSC_VER > 1700) diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index 1814bee2..1b89d28b 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -94,34 +94,38 @@ // C++0x headers implemented in 520 (as shipped by Microsoft) // #if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520 -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET +# 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_SMART_PTR #endif -#if (!defined(_HAS_TR1_IMPORTS) || (_HAS_TR1_IMPORTS+0 == 0)) && !defined(BOOST_NO_0X_HDR_TUPLE) -# define BOOST_NO_0X_HDR_TUPLE +#if (!defined(_HAS_TR1_IMPORTS) || (_HAS_TR1_IMPORTS+0 == 0)) && !defined(BOOST_NO_CXX11_HDR_TUPLE) +# define BOOST_NO_CXX11_HDR_TUPLE #endif // // C++0x headers not yet (fully) implemented: // -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR #ifdef _CPPLIB_VER # define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER diff --git a/include/boost/config/stdlib/libcomo.hpp b/include/boost/config/stdlib/libcomo.hpp index 341cf970..c92635a7 100644 --- a/include/boost/config/stdlib/libcomo.hpp +++ b/include/boost/config/stdlib/libcomo.hpp @@ -35,26 +35,30 @@ // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL // // Intrinsic type_traits support. diff --git a/include/boost/config/stdlib/libcpp.hpp b/include/boost/config/stdlib/libcpp.hpp index 07c70433..3d574407 100644 --- a/include/boost/config/stdlib/libcpp.hpp +++ b/include/boost/config/stdlib/libcpp.hpp @@ -20,15 +20,16 @@ #define BOOST_HAS_THREADS #ifdef _LIBCPP_HAS_NO_VARIADICS -# define BOOST_NO_0X_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TUPLE #endif // // These appear to be unusable/incomplete so far: // -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR // libc++ uses a non-standard messages_base #define BOOST_NO_STD_MESSAGES diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 03cea5c0..283d68e9 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -105,51 +105,62 @@ // C++0x headers in GCC 4.3.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 3) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_TUPLE # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #endif // C++0x headers in GCC 4.4.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_SMART_PTR #else # define BOOST_HAS_TR1_COMPLEX_INVERSE_TRIG # define BOOST_HAS_TR1_COMPLEX_OVERLOADS #endif -#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1)) && (!defined(BOOST_NO_0X_HDR_CONDITION_VARIABLE) || !defined(BOOST_NO_0X_HDR_MUTEX)) -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_MUTEX +#if (!defined(_GLIBCXX_HAS_GTHREADS) || !defined(_GLIBCXX_USE_C99_STDINT_TR1)) && (!defined(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE) || !defined(BOOST_NO_CXX11_HDR_MUTEX)) +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_MUTEX #endif // 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_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_RANDOM #endif -// C++0x features in GCC 4.5.0 and later +// C++0x features in GCC 4.6.0 and later // #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__) -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_TYPEINDEX +#endif + +// C++0x features in GCC 4.7.0 and later +// +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7) || !defined(__GXX_EXPERIMENTAL_CXX0X__) +// Note that although existed prior to 4.7, "stead_clock" is spelled "monotonic_clock" +// so 4.7.0 is the first truely conforming one. +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_ALLOCATOR #endif // C++0x headers not yet (fully!) implemented // -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR // --- end --- diff --git a/include/boost/config/stdlib/modena.hpp b/include/boost/config/stdlib/modena.hpp index 626e712b..a4c7b76c 100644 --- a/include/boost/config/stdlib/modena.hpp +++ b/include/boost/config/stdlib/modena.hpp @@ -24,26 +24,30 @@ // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_STDLIB "Modena C++ standard library" diff --git a/include/boost/config/stdlib/msl.hpp b/include/boost/config/stdlib/msl.hpp index adb3d478..44151162 100644 --- a/include/boost/config/stdlib/msl.hpp +++ b/include/boost/config/stdlib/msl.hpp @@ -48,26 +48,30 @@ // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__) diff --git a/include/boost/config/stdlib/roguewave.hpp b/include/boost/config/stdlib/roguewave.hpp index 95ac36c6..5273c72b 100644 --- a/include/boost/config/stdlib/roguewave.hpp +++ b/include/boost/config/stdlib/roguewave.hpp @@ -155,29 +155,33 @@ #endif #if _RWSTD_VER < 0x05000000 -# define BOOST_NO_0X_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_ARRAY #endif // type_traits header is incomplete: -# define BOOST_NO_0X_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS // // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index c8d77d55..10b4ee22 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -118,26 +118,30 @@ // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_STDLIB "SGI standard library" diff --git a/include/boost/config/stdlib/stlport.hpp b/include/boost/config/stdlib/stlport.hpp index d3069992..f2a3a9a0 100644 --- a/include/boost/config/stdlib/stlport.hpp +++ b/include/boost/config/stdlib/stlport.hpp @@ -212,26 +212,30 @@ namespace boost { using std::min; using std::max; } // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT) diff --git a/include/boost/config/stdlib/vacpp.hpp b/include/boost/config/stdlib/vacpp.hpp index 32a1fc08..2c609d6e 100644 --- a/include/boost/config/stdlib/vacpp.hpp +++ b/include/boost/config/stdlib/vacpp.hpp @@ -24,26 +24,30 @@ // C++0x headers not yet implemented // -# define BOOST_NO_0X_HDR_ARRAY -# define BOOST_NO_0X_HDR_CHRONO -# define BOOST_NO_0X_HDR_CODECVT -# define BOOST_NO_0X_HDR_CONDITION_VARIABLE -# define BOOST_NO_0X_HDR_FORWARD_LIST -# define BOOST_NO_0X_HDR_FUTURE -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -# define BOOST_NO_0X_HDR_MUTEX -# define BOOST_NO_0X_HDR_RANDOM -# define BOOST_NO_0X_HDR_RATIO -# define BOOST_NO_0X_HDR_REGEX -# define BOOST_NO_0X_HDR_SYSTEM_ERROR -# define BOOST_NO_0X_HDR_THREAD -# define BOOST_NO_0X_HDR_TUPLE -# define BOOST_NO_0X_HDR_TYPE_TRAITS -# define BOOST_NO_0X_HDR_TYPEINDEX +# define BOOST_NO_CXX11_HDR_ARRAY +# define BOOST_NO_CXX11_HDR_CHRONO +# define BOOST_NO_CXX11_HDR_CODECVT +# define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +# define BOOST_NO_CXX11_HDR_FORWARD_LIST +# define BOOST_NO_CXX11_HDR_FUTURE +# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# define BOOST_NO_CXX11_HDR_MUTEX +# define BOOST_NO_CXX11_HDR_RANDOM +# define BOOST_NO_CXX11_HDR_RATIO +# define BOOST_NO_CXX11_HDR_REGEX +# define BOOST_NO_CXX11_HDR_SYSTEM_ERROR +# define BOOST_NO_CXX11_HDR_THREAD +# define BOOST_NO_CXX11_HDR_TUPLE +# define BOOST_NO_CXX11_HDR_TYPE_TRAITS +# define BOOST_NO_CXX11_HDR_TYPEINDEX # define BOOST_NO_STD_UNORDERED // deprecated; see following -# define BOOST_NO_0X_HDR_UNORDERED_MAP -# define BOOST_NO_0X_HDR_UNORDERED_SET +# define BOOST_NO_CXX11_HDR_UNORDERED_MAP +# define BOOST_NO_CXX11_HDR_UNORDERED_SET # define BOOST_NO_NUMERIC_LIMITS_LOWEST +# define BOOST_NO_CXX11_ALLOCATOR +# define BOOST_NO_CXX11_ATOMIC_SMART_PTR +# define BOOST_NO_CXX11_SMART_PTR +# define BOOST_NO_CXX11_HDR_FUNCTIONAL #define BOOST_STDLIB "Visual Age default standard library" diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index 72a0dc95..502eb4fa 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -334,17 +334,6 @@ # define BOOST_HASH_MAP_HEADER #endif -// -// Set BOOST_NO_INITIALIZER_LISTS if there is no library support. -// - -#if defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS) -# define BOOST_NO_INITIALIZER_LISTS -#endif -#if defined(BOOST_NO_INITIALIZER_LISTS) && !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) -# define BOOST_NO_0X_HDR_INITIALIZER_LIST -#endif - // // Set BOOST_HAS_RVALUE_REFS when BOOST_NO_RVALUE_REFERENCES is not defined // @@ -700,5 +689,97 @@ namespace std{ using ::type_info; } # endif #endif + +// -------------------- Deprecated macros for 1.50 --------------------------- +// These will go away in a future release + +// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST instead of BOOST_NO_INITIALIZER_LISTS +#if defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) && !defined(BOOST_NO_INITIALIZER_LISTS) +# define BOOST_NO_INITIALIZER_LISTS #endif +// Use BOOST_NO_CXX11_HDR_ARRAY instead of BOOST_NO_0X_HDR_ARRAY +#if defined(BOOST_NO_CXX11_HDR_ARRAY) && !defined(BOOST_NO_BOOST_NO_0X_HDR_ARRAY) +# define BOOST_NO_0X_HDR_ARRAY +#endif +// Use BOOST_NO_CXX11_HDR_CHRONO instead of BOOST_NO_0X_HDR_CHRONO +#if defined(BOOST_NO_CXX11_HDR_CHRONO) && !defined(BOOST_NO_0X_HDR_CHRONO) +# define BOOST_NO_0X_HDR_CHRONO +#endif +// Use BOOST_NO_CXX11_HDR_CODECVT instead of BOOST_NO_0X_HDR_CODECVT +#if defined(BOOST_NO_CXX11_HDR_CODECVT) && !defined(BOOST_NO_0X_HDR_CODECVT) +# define BOOST_NO_0X_HDR_CODECVT +#endif +// Use BOOST_NO_CXX11_HDR_CONDITION_VARIABLE instead of BOOST_NO_0X_HDR_CONDITION_VARIABLE +#if defined(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE) && !defined(BOOST_NO_0X_HDR_CONDITION_VARIABLE) +# define BOOST_NO_0X_HDR_CONDITION_VARIABLE +#endif +// Use BOOST_NO_CXX11_HDR_FORWARD_LIST instead of BOOST_NO_0X_HDR_FORWARD_LIST +#if defined(BOOST_NO_CXX11_HDR_FORWARD_LIST) && !defined(BOOST_NO_0X_HDR_FORWARD_LIST) +# define BOOST_NO_0X_HDR_FORWARD_LIST +#endif +// Use BOOST_NO_CXX11_HDR_FUTURE instead of BOOST_NO_0X_HDR_FUTURE +#if defined(BOOST_NO_CXX11_HDR_FUTURE) && !defined(BOOST_NO_0X_HDR_FUTURE) +# define BOOST_NO_0X_HDR_FUTURE +#endif + +// Use BOOST_NO_CXX11_HDR_INITIALIZER_LIST +// instead of BOOST_NO_0X_HDR_INITIALIZER_LIST or BOOST_NO_INITIALIZER_LISTS +#ifdef BOOST_NO_CXX11_HDR_INITIALIZER_LIST +# ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST +# define BOOST_NO_0X_HDR_INITIALIZER_LIST +# endif +# ifndef BOOST_NO_INITIALIZER_LISTS +# define BOOST_NO_INITIALIZER_LISTS +# endif +#endif + +// Use BOOST_NO_CXX11_HDR_MUTEX instead of BOOST_NO_0X_HDR_MUTEX +#if defined(BOOST_NO_CXX11_HDR_MUTEX) && !defined(BOOST_NO_0X_HDR_MUTEX) +# define BOOST_NO_0X_HDR_MUTEX +#endif +// Use BOOST_NO_CXX11_HDR_RANDOM instead of BOOST_NO_0X_HDR_RANDOM +#if defined(BOOST_NO_CXX11_HDR_RANDOM) && !defined(BOOST_NO_0X_HDR_RANDOM) +# define BOOST_NO_0X_HDR_RANDOM +#endif +// Use BOOST_NO_CXX11_HDR_RATIO instead of BOOST_NO_0X_HDR_RATIO +#if defined(BOOST_NO_CXX11_HDR_RATIO) && !defined(BOOST_NO_0X_HDR_RATIO) +# define BOOST_NO_0X_HDR_RATIO +#endif +// Use BOOST_NO_CXX11_HDR_REGEX instead of BOOST_NO_0X_HDR_REGEX +#if defined(BOOST_NO_CXX11_HDR_REGEX) && !defined(BOOST_NO_0X_HDR_REGEX) +# define BOOST_NO_0X_HDR_REGEX +#endif +// Use BOOST_NO_CXX11_HDR_SYSTEM_ERROR instead of BOOST_NO_0X_HDR_SYSTEM_ERROR +#if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR) && !defined(BOOST_NO_0X_HDR_SYSTEM_ERROR) +# define BOOST_NO_0X_HDR_SYSTEM_ERROR +#endif +// Use BOOST_NO_CXX11_HDR_THREAD instead of BOOST_NO_0X_HDR_THREAD +#if defined(BOOST_NO_CXX11_HDR_THREAD) && !defined(BOOST_NO_0X_HDR_THREAD) +# define BOOST_NO_0X_HDR_THREAD +#endif +// Use BOOST_NO_CXX11_HDR_TUPLE instead of BOOST_NO_0X_HDR_TUPLE +#if defined(BOOST_NO_CXX11_HDR_TUPLE) && !defined(BOOST_NO_0X_HDR_TUPLE) +# define BOOST_NO_0X_HDR_TUPLE +#endif +// Use BOOST_NO_CXX11_HDR_TYPE_TRAITS instead of BOOST_NO_0X_HDR_TYPE_TRAITS +#if defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS) && !defined(BOOST_NO_0X_HDR_TYPE_TRAITS) +# define BOOST_NO_0X_HDR_TYPE_TRAITS +#endif +// Use BOOST_NO_CXX11_HDR_TYPEINDEX instead of BOOST_NO_0X_HDR_TYPEINDEX +#if defined(BOOST_NO_CXX11_HDR_TYPEINDEX) && !defined(BOOST_NO_0X_HDR_TYPEINDEX) +# define BOOST_NO_0X_HDR_TYPEINDEX +#endif +// Use BOOST_NO_CXX11_HDR_UNORDERED_MAP instead of BOOST_NO_0X_HDR_UNORDERED_MAP +#if defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) && !defined(BOOST_NO_0X_HDR_UNORDERED_MAP) +# define BOOST_NO_0X_HDR_UNORDERED_MAP +#endif +// Use BOOST_NO_CXX11_HDR_UNORDERED_SET instead of BOOST_NO_0X_HDR_UNORDERED_SET +#if defined(BOOST_NO_CXX11_HDR_UNORDERED_SET) && !defined(BOOST_NO_0X_HDR_UNORDERED_SET) +# define BOOST_NO_0X_HDR_UNORDERED_SET +#endif + +// ------------------ End of deprecated macros for 1.50 --------------------------- + + +#endif diff --git a/test/all/Jamfile.v2 b/test/all/Jamfile.v2 index 811c052a..b839b995 100644 --- a/test/all/Jamfile.v2 +++ b/test/all/Jamfile.v2 @@ -1,7 +1,7 @@ # # Regression test Jamfile for boost configuration setup. # *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on Sun Nov 27 09:43:19 2011 +# This file was automatically generated on Sun Apr 22 11:55:04 2012 # by libs/config/tools/generate.cpp # Copyright John Maddock. # Use, modification and distribution are subject to the @@ -175,60 +175,6 @@ test-suite "BOOST_MSVC_STD_ITERATOR" : test-suite "BOOST_HAS_WINTHREADS" : [ run ../has_winthreads_pass.cpp ] [ compile-fail ../has_winthreads_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_ARRAY" : -[ run ../no_0x_hdr_array_pass.cpp ] -[ compile-fail ../no_0x_hdr_array_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_CHRONO" : -[ run ../no_0x_hdr_chrono_pass.cpp ] -[ compile-fail ../no_0x_hdr_chrono_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_CODECVT" : -[ run ../no_0x_hdr_codecvt_pass.cpp ] -[ compile-fail ../no_0x_hdr_codecvt_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_CONDITION_VARIABLE" : -[ run ../no_0x_hdr_condition_variable_pass.cpp ] -[ compile-fail ../no_0x_hdr_condition_variable_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_FORWARD_LIST" : -[ run ../no_0x_hdr_forward_list_pass.cpp ] -[ compile-fail ../no_0x_hdr_forward_list_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_FUTURE" : -[ run ../no_0x_hdr_future_pass.cpp ] -[ compile-fail ../no_0x_hdr_future_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_INITIALIZER_LIST" : -[ run ../no_0x_hdr_initializer_list_pass.cpp ] -[ compile-fail ../no_0x_hdr_initializer_list_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_MUTEX" : -[ run ../no_0x_hdr_mutex_pass.cpp ] -[ compile-fail ../no_0x_hdr_mutex_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_RANDOM" : -[ run ../no_0x_hdr_random_pass.cpp ] -[ compile-fail ../no_0x_hdr_random_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_RATIO" : -[ run ../no_0x_hdr_ratio_pass.cpp ] -[ compile-fail ../no_0x_hdr_ratio_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_REGEX" : -[ run ../no_0x_hdr_regex_pass.cpp ] -[ compile-fail ../no_0x_hdr_regex_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_SYSTEM_ERROR" : -[ run ../no_0x_hdr_system_error_pass.cpp ] -[ compile-fail ../no_0x_hdr_system_error_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_THREAD" : -[ run ../no_0x_hdr_thread_pass.cpp ] -[ compile-fail ../no_0x_hdr_thread_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_TUPLE" : -[ run ../no_0x_hdr_tuple_pass.cpp ] -[ compile-fail ../no_0x_hdr_tuple_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_TYPEINDEX" : -[ run ../no_0x_hdr_typeindex_pass.cpp ] -[ compile-fail ../no_0x_hdr_typeindex_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_TYPE_TRAITS" : -[ run ../no_0x_hdr_type_traits_pass.cpp ] -[ compile-fail ../no_0x_hdr_type_traits_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_UNORDERED_MAP" : -[ run ../no_0x_hdr_unordered_map_pass.cpp ] -[ compile-fail ../no_0x_hdr_unordered_map_fail.cpp ] ; -test-suite "BOOST_NO_0X_HDR_UNORDERED_SET" : -[ run ../no_0x_hdr_unordered_set_pass.cpp ] -[ compile-fail ../no_0x_hdr_unordered_set_fail.cpp ] ; test-suite "BOOST_NO_ADL_BARRIER" : [ run ../no_adl_barrier_pass.cpp ] [ compile-fail ../no_adl_barrier_fail.cpp ] ; @@ -277,6 +223,72 @@ test-suite "BOOST_NO_CWCHAR" : test-suite "BOOST_NO_CWCTYPE" : [ run ../no_cwctype_pass.cpp ] [ compile-fail ../no_cwctype_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_ALLOCATOR" : +[ run ../no_cxx11_allocator_pass.cpp ] +[ compile-fail ../no_cxx11_allocator_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_ATOMIC_SMART_PTR" : +[ run ../no_cxx11_atomic_sp_pass.cpp ] +[ compile-fail ../no_cxx11_atomic_sp_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_ARRAY" : +[ run ../no_cxx11_hdr_array_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_array_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_CHRONO" : +[ run ../no_cxx11_hdr_chrono_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_chrono_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_CODECVT" : +[ run ../no_cxx11_hdr_codecvt_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_codecvt_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_CONDITION_VARIABLE" : +[ run ../no_cxx11_hdr_condition_variable_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_condition_variable_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_FORWARD_LIST" : +[ run ../no_cxx11_hdr_forward_list_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_forward_list_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_FUTURE" : +[ run ../no_cxx11_hdr_future_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_future_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_INITIALIZER_LIST" : +[ run ../no_cxx11_hdr_initializer_list_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_initializer_list_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_MUTEX" : +[ run ../no_cxx11_hdr_mutex_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_mutex_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_RANDOM" : +[ run ../no_cxx11_hdr_random_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_random_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_RATIO" : +[ run ../no_cxx11_hdr_ratio_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_ratio_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_REGEX" : +[ run ../no_cxx11_hdr_regex_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_regex_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_SYSTEM_ERROR" : +[ run ../no_cxx11_hdr_system_error_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_system_error_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_THREAD" : +[ run ../no_cxx11_hdr_thread_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_thread_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_TUPLE" : +[ run ../no_cxx11_hdr_tuple_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_tuple_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_TYPEINDEX" : +[ run ../no_cxx11_hdr_typeindex_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_typeindex_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_TYPE_TRAITS" : +[ run ../no_cxx11_hdr_type_traits_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_type_traits_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_UNORDERED_MAP" : +[ run ../no_cxx11_hdr_unordered_map_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_unordered_map_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_UNORDERED_SET" : +[ run ../no_cxx11_hdr_unordered_set_pass.cpp ] +[ compile-fail ../no_cxx11_hdr_unordered_set_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_SMART_PTR" : +[ run ../no_cxx11_smart_ptr_pass.cpp ] +[ compile-fail ../no_cxx11_smart_ptr_fail.cpp ] ; +test-suite "BOOST_NO_CXX11_HDR_FUNCTIONAL" : +[ run ../no_cxx_hdr_functional_pass.cpp ] +[ compile-fail ../no_cxx_hdr_functional_fail.cpp ] ; test-suite "BOOST_NO_DECLTYPE" : [ run ../no_decltype_pass.cpp ] [ compile-fail ../no_decltype_fail.cpp ] ; @@ -328,9 +340,6 @@ test-suite "BOOST_NO_FUNCTION_TEMPLATE_ORDERING" : test-suite "BOOST_NO_MS_INT64_NUMERIC_LIMITS" : [ run ../no_i64_limits_pass.cpp ] [ compile-fail ../no_i64_limits_fail.cpp ] ; -test-suite "BOOST_NO_INITIALIZER_LISTS" : -[ run ../no_initializer_lists_pass.cpp ] -[ compile-fail ../no_initializer_lists_fail.cpp ] ; test-suite "BOOST_NO_INCLASS_MEMBER_INITIALIZATION" : [ run ../no_inline_memb_init_pass.cpp ] [ compile-fail ../no_inline_memb_init_fail.cpp ] ; @@ -487,6 +496,9 @@ test-suite "BOOST_NO_TEMPLATED_IOSTREAMS" : test-suite "BOOST_NO_TEMPLATE_TEMPLATES" : [ run ../no_template_template_pass.cpp ] [ compile-fail ../no_template_template_fail.cpp ] ; +test-suite "BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS" : +[ run ../no_tem_local_classes_pass.cpp ] +[ compile-fail ../no_tem_local_classes_fail.cpp ] ; test-suite "BOOST_NO_TWO_PHASE_NAME_LOOKUP" : [ run ../no_two_phase_lookup_pass.cpp ] [ compile-fail ../no_two_phase_lookup_fail.cpp ] ; diff --git a/test/boost_no_cxx11_allocator.ipp b/test/boost_no_cxx11_allocator.ipp new file mode 100644 index 00000000..2865fb7d --- /dev/null +++ b/test/boost_no_cxx11_allocator.ipp @@ -0,0 +1,34 @@ +// (C) Copyright John Maddock 2012 + +// 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 more information. + +// MACRO: BOOST_NO_CXX11_ALLOCATOR +// TITLE: C++11 doesn't have C++0x allocator support +// DESCRIPTION: The compiler does not support the C++11 allocator features added to + +#include + +namespace boost_no_cxx11_allocator { + +int test() +{ + std::pointer_traits* p = 0; + //std::pointer_safety s = std::relaxed; + + //char* (*l_undeclare_reachable)(char *p) = std::undeclare_reachable; + //void (*l_declare_no_pointers)(char *p, size_t n) = std::declare_no_pointers; + //void (*l_undeclare_no_pointers)(char *p, size_t n) = std::undeclare_no_pointers; + //std::pointer_safety (*l_get_pointer_safety)() = std::get_pointer_safety; + //void* (*l_align)(std::size_t alignment, std::size_t size, void *&ptr, std::size_t& space) = std::align; + std::allocator_arg_t aat; + std::uses_allocator > ua; + std::allocator_traits > at; + + return 0; +} + +} diff --git a/test/boost_no_cxx11_atomic_sp.ipp b/test/boost_no_cxx11_atomic_sp.ipp new file mode 100644 index 00000000..48f17c2e --- /dev/null +++ b/test/boost_no_cxx11_atomic_sp.ipp @@ -0,0 +1,37 @@ +// (C) Copyright John Maddock 2012 + +// 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 more information. + +// MACRO: BOOST_NO_CXX11_ATOMIC_SMART_PTR +// TITLE: C++11 does not support atomic smart pointer operations +// DESCRIPTION: The compiler does not support the C++11 atomic smart pointer features added to + +#include + +namespace boost_no_cxx11_atomic_smart_ptr { + +int test() +{ + std::shared_ptr spi(new int), spi2(new int); + spi = std::static_pointer_cast(spi); + + atomic_is_lock_free(&spi); + atomic_load(&spi); + atomic_load_explicit(&spi, std::memory_order_relaxed); + atomic_store(&spi, spi2); + atomic_store_explicit(&spi, spi2, std::memory_order_relaxed); + atomic_exchange(&spi, spi2); + atomic_exchange_explicit(&spi, std::memory_order_relaxed); + atomic_compare_exchange_weak(&spi, &spi2, spi); + atomic_compare_exchange_strong(&spi, &spi2, spi); + atomic_compare_exchange_weak_explicit(&spi, &spi2, spi, std::memory_order_relaxed, std::memory_order_relaxed); + atomic_compare_exchange_strong_explicit(&spi, &spi2, spi, std::memory_order_relaxed, std::memory_order_relaxed); + + return 0; +} + +} diff --git a/test/boost_no_0x_hdr_array.ipp b/test/boost_no_cxx11_hdr_array.ipp similarity index 86% rename from test/boost_no_0x_hdr_array.ipp rename to test/boost_no_cxx11_hdr_array.ipp index 86609c8b..79ad7290 100644 --- a/test/boost_no_0x_hdr_array.ipp +++ b/test/boost_no_cxx11_hdr_array.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_ARRAY +// MACRO: BOOST_NO_CXX11_HDR_ARRAY // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_array { +namespace boost_no_cxx11_hdr_array { int test() { diff --git a/test/boost_no_0x_hdr_chrono.ipp b/test/boost_no_cxx11_hdr_chrono.ipp similarity index 86% rename from test/boost_no_0x_hdr_chrono.ipp rename to test/boost_no_cxx11_hdr_chrono.ipp index dad06692..701b024e 100644 --- a/test/boost_no_0x_hdr_chrono.ipp +++ b/test/boost_no_cxx11_hdr_chrono.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_CHRONO +// MACRO: BOOST_NO_CXX11_HDR_CHRONO // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_chrono { +namespace boost_no_cxx11_hdr_chrono { int test() { @@ -23,7 +23,7 @@ int test() using std::chrono::minutes; using std::chrono::hours; using std::chrono::system_clock; - using std::chrono::monotonic_clock; + using std::chrono::steady_clock; using std::chrono::high_resolution_clock; return 0; } diff --git a/test/boost_no_0x_hdr_codecvt.ipp b/test/boost_no_cxx11_hdr_codecvt.ipp similarity index 86% rename from test/boost_no_0x_hdr_codecvt.ipp rename to test/boost_no_cxx11_hdr_codecvt.ipp index 96d1ee17..37f91e5e 100644 --- a/test/boost_no_0x_hdr_codecvt.ipp +++ b/test/boost_no_cxx11_hdr_codecvt.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_CODECVT +// MACRO: BOOST_NO_CXX11_HDR_CODECVT // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_codecvt { +namespace boost_no_cxx11_hdr_codecvt { int test() { diff --git a/test/boost_no_0x_hdr_condition_variable.ipp b/test/boost_no_cxx11_hdr_condition_variable.ipp similarity index 84% rename from test/boost_no_0x_hdr_condition_variable.ipp rename to test/boost_no_cxx11_hdr_condition_variable.ipp index fc06a356..d266e8de 100644 --- a/test/boost_no_0x_hdr_condition_variable.ipp +++ b/test/boost_no_cxx11_hdr_condition_variable.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_CONDITION_VARIABLE +// MACRO: BOOST_NO_CXX11_HDR_CONDITION_VARIABLE // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_condition_variable { +namespace boost_no_cxx11_hdr_condition_variable { int test() { diff --git a/test/boost_no_0x_hdr_forward_list.ipp b/test/boost_no_cxx11_hdr_forward_list.ipp similarity index 85% rename from test/boost_no_0x_hdr_forward_list.ipp rename to test/boost_no_cxx11_hdr_forward_list.ipp index 59d16afb..0ef465d8 100644 --- a/test/boost_no_0x_hdr_forward_list.ipp +++ b/test/boost_no_cxx11_hdr_forward_list.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_FORWARD_LIST +// MACRO: BOOST_NO_CXX11_HDR_FORWARD_LIST // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_forward_list { +namespace boost_no_cxx11_hdr_forward_list { int test() { diff --git a/test/boost_no_0x_hdr_future.ipp b/test/boost_no_cxx11_hdr_future.ipp similarity index 90% rename from test/boost_no_0x_hdr_future.ipp rename to test/boost_no_cxx11_hdr_future.ipp index 42fd55e6..3913e3c7 100644 --- a/test/boost_no_0x_hdr_future.ipp +++ b/test/boost_no_cxx11_hdr_future.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_FUTURE +// MACRO: BOOST_NO_CXX11_HDR_FUTURE // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_future { +namespace boost_no_cxx11_hdr_future { int test() { diff --git a/test/boost_no_0x_hdr_initializer_list.ipp b/test/boost_no_cxx11_hdr_initializer_list.ipp similarity index 85% rename from test/boost_no_0x_hdr_initializer_list.ipp rename to test/boost_no_cxx11_hdr_initializer_list.ipp index c026ecbb..3efcce94 100644 --- a/test/boost_no_0x_hdr_initializer_list.ipp +++ b/test/boost_no_cxx11_hdr_initializer_list.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_INITIALIZER_LIST +// MACRO: BOOST_NO_CXX11_HDR_INITIALIZER_LIST // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_initializer_list { +namespace boost_no_cxx11_hdr_initializer_list { void foo(const std::initializer_list& l) { diff --git a/test/boost_no_0x_hdr_mutex.ipp b/test/boost_no_cxx11_hdr_mutex.ipp similarity index 87% rename from test/boost_no_0x_hdr_mutex.ipp rename to test/boost_no_cxx11_hdr_mutex.ipp index d3a9d25b..acc1b1e9 100644 --- a/test/boost_no_0x_hdr_mutex.ipp +++ b/test/boost_no_cxx11_hdr_mutex.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_MUTEX +// MACRO: BOOST_NO_CXX11_HDR_MUTEX // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_mutex { +namespace boost_no_cxx11_hdr_mutex { int test() { diff --git a/test/boost_no_0x_hdr_random.ipp b/test/boost_no_cxx11_hdr_random.ipp similarity index 89% rename from test/boost_no_0x_hdr_random.ipp rename to test/boost_no_cxx11_hdr_random.ipp index 07d58b5e..acc13957 100644 --- a/test/boost_no_0x_hdr_random.ipp +++ b/test/boost_no_cxx11_hdr_random.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_RANDOM +// MACRO: BOOST_NO_CXX11_HDR_RANDOM // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_random { +namespace boost_no_cxx11_hdr_random { int test() { diff --git a/test/boost_no_0x_hdr_ratio.ipp b/test/boost_no_cxx11_hdr_ratio.ipp similarity index 90% rename from test/boost_no_0x_hdr_ratio.ipp rename to test/boost_no_cxx11_hdr_ratio.ipp index beeab5b7..f17dd5de 100644 --- a/test/boost_no_0x_hdr_ratio.ipp +++ b/test/boost_no_cxx11_hdr_ratio.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_RATIO +// MACRO: BOOST_NO_CXX11_HDR_RATIO // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_ratio { +namespace boost_no_cxx11_hdr_ratio { int test() { diff --git a/test/boost_no_0x_hdr_regex.ipp b/test/boost_no_cxx11_hdr_regex.ipp similarity index 86% rename from test/boost_no_0x_hdr_regex.ipp rename to test/boost_no_cxx11_hdr_regex.ipp index f82693e3..750db43b 100644 --- a/test/boost_no_0x_hdr_regex.ipp +++ b/test/boost_no_cxx11_hdr_regex.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_REGEX +// MACRO: BOOST_NO_CXX11_HDR_REGEX // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_regex { +namespace boost_no_cxx11_hdr_regex { int test() { diff --git a/test/boost_no_0x_hdr_system_error.ipp b/test/boost_no_cxx11_hdr_system_error.ipp similarity index 86% rename from test/boost_no_0x_hdr_system_error.ipp rename to test/boost_no_cxx11_hdr_system_error.ipp index 158f7c1e..50ced6c1 100644 --- a/test/boost_no_0x_hdr_system_error.ipp +++ b/test/boost_no_cxx11_hdr_system_error.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_SYSTEM_ERROR +// MACRO: BOOST_NO_CXX11_HDR_SYSTEM_ERROR // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_system_error { +namespace boost_no_cxx11_hdr_system_error { int test() { diff --git a/test/boost_no_0x_hdr_thread.ipp b/test/boost_no_cxx11_hdr_thread.ipp similarity index 88% rename from test/boost_no_0x_hdr_thread.ipp rename to test/boost_no_cxx11_hdr_thread.ipp index c07b03e4..612ddc33 100644 --- a/test/boost_no_0x_hdr_thread.ipp +++ b/test/boost_no_cxx11_hdr_thread.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_THREAD +// MACRO: BOOST_NO_CXX11_HDR_THREAD // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_thread { +namespace boost_no_cxx11_hdr_thread { int test() { diff --git a/test/boost_no_0x_hdr_tuple.ipp b/test/boost_no_cxx11_hdr_tuple.ipp similarity index 86% rename from test/boost_no_0x_hdr_tuple.ipp rename to test/boost_no_cxx11_hdr_tuple.ipp index 1a3ff456..34bdc4df 100644 --- a/test/boost_no_0x_hdr_tuple.ipp +++ b/test/boost_no_cxx11_hdr_tuple.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_TUPLE +// MACRO: BOOST_NO_CXX11_HDR_TUPLE // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_tuple { +namespace boost_no_cxx11_hdr_tuple { int test() { diff --git a/test/boost_no_0x_hdr_type_traits.ipp b/test/boost_no_cxx11_hdr_type_traits.ipp similarity index 96% rename from test/boost_no_0x_hdr_type_traits.ipp rename to test/boost_no_cxx11_hdr_type_traits.ipp index 44dc6a6f..2b14d117 100644 --- a/test/boost_no_0x_hdr_type_traits.ipp +++ b/test/boost_no_cxx11_hdr_type_traits.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_TYPE_TRAITS +// MACRO: BOOST_NO_CXX11_HDR_TYPE_TRAITS // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_type_traits { +namespace boost_no_cxx11_hdr_type_traits { int test() { diff --git a/test/boost_no_0x_hdr_typeindex.ipp b/test/boost_no_cxx11_hdr_typeindex.ipp similarity index 87% rename from test/boost_no_0x_hdr_typeindex.ipp rename to test/boost_no_cxx11_hdr_typeindex.ipp index b0555e7b..aa0358c7 100644 --- a/test/boost_no_0x_hdr_typeindex.ipp +++ b/test/boost_no_cxx11_hdr_typeindex.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_TYPEINDEX +// MACRO: BOOST_NO_CXX11_HDR_TYPEINDEX // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_typeindex { +namespace boost_no_cxx11_hdr_typeindex { int test() { diff --git a/test/boost_no_0x_hdr_unordered_map.ipp b/test/boost_no_cxx11_hdr_unordered_map.ipp similarity index 86% rename from test/boost_no_0x_hdr_unordered_map.ipp rename to test/boost_no_cxx11_hdr_unordered_map.ipp index 3d44a1c5..08e94ec0 100644 --- a/test/boost_no_0x_hdr_unordered_map.ipp +++ b/test/boost_no_cxx11_hdr_unordered_map.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_UNORDERED_MAP +// MACRO: BOOST_NO_CXX11_HDR_UNORDERED_MAP // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_unordered_map { +namespace boost_no_cxx11_hdr_unordered_map { int test() { diff --git a/test/boost_no_0x_hdr_unordered_set.ipp b/test/boost_no_cxx11_hdr_unordered_set.ipp similarity index 85% rename from test/boost_no_0x_hdr_unordered_set.ipp rename to test/boost_no_cxx11_hdr_unordered_set.ipp index f72f1b6a..f36f15f0 100644 --- a/test/boost_no_0x_hdr_unordered_set.ipp +++ b/test/boost_no_cxx11_hdr_unordered_set.ipp @@ -6,13 +6,13 @@ // See http://www.boost.org/libs/config for more information. -// MACRO: BOOST_NO_0X_HDR_UNORDERED_SET +// MACRO: BOOST_NO_CXX11_HDR_UNORDERED_SET // TITLE: C++0x header unavailable // DESCRIPTION: The standard library does not supply C++0x header #include -namespace boost_no_0x_hdr_unordered_set { +namespace boost_no_cxx11_hdr_unordered_set { int test() { diff --git a/test/boost_no_cxx11_smart_ptr.ipp b/test/boost_no_cxx11_smart_ptr.ipp new file mode 100644 index 00000000..817a0249 --- /dev/null +++ b/test/boost_no_cxx11_smart_ptr.ipp @@ -0,0 +1,32 @@ +// (C) Copyright John Maddock 2012 + +// 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 more information. + +// MACRO: BOOST_NO_CXX11_SMART_PTR +// TITLE: C++11 has no shared_ptr and unique_ptr +// DESCRIPTION: The compiler does not support the C++11 smart pointer features added to + +#include +// Hash functions for shared pointers should be in +// but with some std lib's we have to include as well... +#include + +namespace boost_no_cxx11_smart_ptr { + +int test() +{ + std::unique_ptr upi(new int); + std::shared_ptr spi(new int), spi2(new int); + spi = std::static_pointer_cast(spi); + + std::hash > h1; + std::hash > h2; + + return 0; +} + +} diff --git a/test/boost_no_cxx_hdr_functional.ipp b/test/boost_no_cxx_hdr_functional.ipp new file mode 100644 index 00000000..fbcc46b0 --- /dev/null +++ b/test/boost_no_cxx_hdr_functional.ipp @@ -0,0 +1,43 @@ +// (C) Copyright John Maddock 2012 + +// 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 more information. + +// MACRO: BOOST_NO_CXX11_HDR_FUNCTIONAL +// TITLE: C++11 unavailable +// DESCRIPTION: The compiler does not support the C++11 features added to + +#include + +void f(int, float){} + +namespace boost_no_cxx11_hdr_functional { + +int test() +{ + int i = 0; + std::ref(i); + std::cref(i); + + std::bit_and b1; + std::bit_or b2; + std::bit_xor b3; + + std::hash hs; + + (void)b1; + (void)b2; + (void)b3; + (void)hs; + + std::bind(f, std::placeholders::_1, 0.0f); + + std::function fun(f); + + return 0; +} + +} diff --git a/test/boost_no_initializer_lists.ipp b/test/boost_no_initializer_lists.ipp deleted file mode 100644 index 5bc58c22..00000000 --- a/test/boost_no_initializer_lists.ipp +++ /dev/null @@ -1,34 +0,0 @@ -// (C) Copyright Daniel James 2008. -// 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_INITIALIZER_LISTS -// TITLE: Initializer Lists -// DESCRIPTION: If the compiler does not support C++0x initializer lists - -#include -#include -#include - -namespace boost_no_initializer_lists { - -void quiet_warning(const std::initializer_list&){} - -void f(std::initializer_list) -{ -} - -int test() -{ - std::vector v{"once", "upon", "a", "time"}; // See C++ std 8.5.4 - f( { 1, 2, 3, 4 } ); - std::initializer_list x = { 1, 2 }; - quiet_warning(x); - return 0; -} - -} diff --git a/test/boost_no_tem_local_classes.ipp b/test/boost_no_tem_local_classes.ipp new file mode 100644 index 00000000..ed5e701d --- /dev/null +++ b/test/boost_no_tem_local_classes.ipp @@ -0,0 +1,33 @@ + +// Copyright (C) 2009-2012 Lorenzo Caminiti +// Distributed under the Boost Software License, Version 1.0 +// (see accompanying file LICENSE_1_0.txt or a copy at +// http://www.boost.org/LICENSE_1_0.txt) +// Home at http://www.boost.org/libs/config + +// MACRO: BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +// TITLE: local classes as template parameters +// DESCRIPTION: Local classes cannot be passed as template parameters. + +// NOTE: Local classes cannot be passed as template parameters in C++03 (even +// if some C++03 compilers, like MSVC and older GCC, allow it). Local classes +// can instead be passed as template parameters in C++11 (see also N2657, note +// that this macro does not check if unnamed types can also be passed as +// template parameters but it is intentionally limited to local named classes +// because some non C++11 compilers might only support local named classes as +// template parameters which is still very useful to program local functors). +namespace boost_no_local_class_template_parameters { + +template struct a { void use() {} }; +template void f(T x) {} + +int test() { + class local_class {} local_obj; + a a1; + a1.use(); // Avoid unused variable warning. + f(local_obj); + return 0; +} + +} // namespace + diff --git a/test/boost_no_unified_init.ipp b/test/boost_no_unified_init.ipp index 9f1c3b41..1cb2243f 100644 --- a/test/boost_no_unified_init.ipp +++ b/test/boost_no_unified_init.ipp @@ -9,6 +9,8 @@ // 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 +#include + namespace boost_no_unified_initialization_syntax { struct BasicStruct diff --git a/test/config_info.cpp b/test/config_info.cpp index ae9578df..46984132 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -979,24 +979,6 @@ void print_boost_macros() PRINT_MACRO(BOOST_HAS_WINTHREADS); PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES); PRINT_MACRO(BOOST_MSVC_STD_ITERATOR); - PRINT_MACRO(BOOST_NO_0X_HDR_ARRAY); - PRINT_MACRO(BOOST_NO_0X_HDR_CHRONO); - PRINT_MACRO(BOOST_NO_0X_HDR_CODECVT); - PRINT_MACRO(BOOST_NO_0X_HDR_CONDITION_VARIABLE); - PRINT_MACRO(BOOST_NO_0X_HDR_FORWARD_LIST); - PRINT_MACRO(BOOST_NO_0X_HDR_FUTURE); - PRINT_MACRO(BOOST_NO_0X_HDR_INITIALIZER_LIST); - PRINT_MACRO(BOOST_NO_0X_HDR_MUTEX); - PRINT_MACRO(BOOST_NO_0X_HDR_RANDOM); - PRINT_MACRO(BOOST_NO_0X_HDR_RATIO); - PRINT_MACRO(BOOST_NO_0X_HDR_REGEX); - PRINT_MACRO(BOOST_NO_0X_HDR_SYSTEM_ERROR); - PRINT_MACRO(BOOST_NO_0X_HDR_THREAD); - PRINT_MACRO(BOOST_NO_0X_HDR_TUPLE); - PRINT_MACRO(BOOST_NO_0X_HDR_TYPEINDEX); - PRINT_MACRO(BOOST_NO_0X_HDR_TYPE_TRAITS); - PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_MAP); - PRINT_MACRO(BOOST_NO_0X_HDR_UNORDERED_SET); PRINT_MACRO(BOOST_NO_ADL_BARRIER); PRINT_MACRO(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP); PRINT_MACRO(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS); @@ -1012,6 +994,28 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_CV_VOID_SPECIALIZATIONS); PRINT_MACRO(BOOST_NO_CWCHAR); PRINT_MACRO(BOOST_NO_CWCTYPE); + PRINT_MACRO(BOOST_NO_CXX11_ALLOCATOR); + PRINT_MACRO(BOOST_NO_CXX11_ATOMIC_SMART_PTR); + PRINT_MACRO(BOOST_NO_CXX11_HDR_ARRAY); + PRINT_MACRO(BOOST_NO_CXX11_HDR_CHRONO); + PRINT_MACRO(BOOST_NO_CXX11_HDR_CODECVT); + PRINT_MACRO(BOOST_NO_CXX11_HDR_CONDITION_VARIABLE); + PRINT_MACRO(BOOST_NO_CXX11_HDR_FORWARD_LIST); + PRINT_MACRO(BOOST_NO_CXX11_HDR_FUNCTIONAL); + PRINT_MACRO(BOOST_NO_CXX11_HDR_FUTURE); + PRINT_MACRO(BOOST_NO_CXX11_HDR_INITIALIZER_LIST); + PRINT_MACRO(BOOST_NO_CXX11_HDR_MUTEX); + PRINT_MACRO(BOOST_NO_CXX11_HDR_RANDOM); + PRINT_MACRO(BOOST_NO_CXX11_HDR_RATIO); + PRINT_MACRO(BOOST_NO_CXX11_HDR_REGEX); + PRINT_MACRO(BOOST_NO_CXX11_HDR_SYSTEM_ERROR); + PRINT_MACRO(BOOST_NO_CXX11_HDR_THREAD); + PRINT_MACRO(BOOST_NO_CXX11_HDR_TUPLE); + PRINT_MACRO(BOOST_NO_CXX11_HDR_TYPEINDEX); + PRINT_MACRO(BOOST_NO_CXX11_HDR_TYPE_TRAITS); + PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_MAP); + PRINT_MACRO(BOOST_NO_CXX11_HDR_UNORDERED_SET); + PRINT_MACRO(BOOST_NO_CXX11_SMART_PTR); PRINT_MACRO(BOOST_NO_DECLTYPE); PRINT_MACRO(BOOST_NO_DECLTYPE_N3276); PRINT_MACRO(BOOST_NO_DEFAULTED_FUNCTIONS); @@ -1028,7 +1032,6 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_FUNCTION_TEMPLATE_ORDERING); PRINT_MACRO(BOOST_NO_FUNCTION_TYPE_SPECIALIZATIONS); PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION); - PRINT_MACRO(BOOST_NO_INITIALIZER_LISTS); PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T); PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T); PRINT_MACRO(BOOST_NO_IOSFWD); @@ -1037,6 +1040,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_LAMBDAS); PRINT_MACRO(BOOST_NO_LIMITS); PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS); + PRINT_MACRO(BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS); PRINT_MACRO(BOOST_NO_LONG_LONG); PRINT_MACRO(BOOST_NO_LONG_LONG_NUMERIC_LIMITS); PRINT_MACRO(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS); @@ -1106,6 +1110,9 @@ void print_boost_macros() + + + // END GENERATED BLOCK PRINT_MACRO(BOOST_INTEL); diff --git a/test/config_test.cpp b/test/config_test.cpp index 3f8cb588..63dd1f70 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -1,4 +1,4 @@ -// This file was automatically generated on Sun Nov 27 09:43:19 2011 +// This file was automatically generated on Sun Apr 22 11:55:04 2012 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the @@ -22,96 +22,6 @@ int error_count = 0; -#ifndef BOOST_NO_0X_HDR_ARRAY -#include "boost_no_0x_hdr_array.ipp" -#else -namespace boost_no_0x_hdr_array = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_CHRONO -#include "boost_no_0x_hdr_chrono.ipp" -#else -namespace boost_no_0x_hdr_chrono = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_CODECVT -#include "boost_no_0x_hdr_codecvt.ipp" -#else -namespace boost_no_0x_hdr_codecvt = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_CONDITION_VARIABLE -#include "boost_no_0x_hdr_condition_variable.ipp" -#else -namespace boost_no_0x_hdr_condition_variable = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_FORWARD_LIST -#include "boost_no_0x_hdr_forward_list.ipp" -#else -namespace boost_no_0x_hdr_forward_list = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_FUTURE -#include "boost_no_0x_hdr_future.ipp" -#else -namespace boost_no_0x_hdr_future = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST -#include "boost_no_0x_hdr_initializer_list.ipp" -#else -namespace boost_no_0x_hdr_initializer_list = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_MUTEX -#include "boost_no_0x_hdr_mutex.ipp" -#else -namespace boost_no_0x_hdr_mutex = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_RANDOM -#include "boost_no_0x_hdr_random.ipp" -#else -namespace boost_no_0x_hdr_random = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_RATIO -#include "boost_no_0x_hdr_ratio.ipp" -#else -namespace boost_no_0x_hdr_ratio = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_REGEX -#include "boost_no_0x_hdr_regex.ipp" -#else -namespace boost_no_0x_hdr_regex = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_SYSTEM_ERROR -#include "boost_no_0x_hdr_system_error.ipp" -#else -namespace boost_no_0x_hdr_system_error = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_THREAD -#include "boost_no_0x_hdr_thread.ipp" -#else -namespace boost_no_0x_hdr_thread = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_TUPLE -#include "boost_no_0x_hdr_tuple.ipp" -#else -namespace boost_no_0x_hdr_tuple = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_TYPEINDEX -#include "boost_no_0x_hdr_typeindex.ipp" -#else -namespace boost_no_0x_hdr_typeindex = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_TYPE_TRAITS -#include "boost_no_0x_hdr_type_traits.ipp" -#else -namespace boost_no_0x_hdr_type_traits = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_UNORDERED_MAP -#include "boost_no_0x_hdr_unordered_map.ipp" -#else -namespace boost_no_0x_hdr_unordered_map = empty_boost; -#endif -#ifndef BOOST_NO_0X_HDR_UNORDERED_SET -#include "boost_no_0x_hdr_unordered_set.ipp" -#else -namespace boost_no_0x_hdr_unordered_set = empty_boost; -#endif #ifndef BOOST_NO_ADL_BARRIER #include "boost_no_adl_barrier.ipp" #else @@ -192,6 +102,116 @@ namespace boost_no_cwchar = empty_boost; #else namespace boost_no_cwctype = empty_boost; #endif +#ifndef BOOST_NO_CXX11_ALLOCATOR +#include "boost_no_cxx11_allocator.ipp" +#else +namespace boost_no_cxx11_allocator = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_ATOMIC_SMART_PTR +#include "boost_no_cxx11_atomic_sp.ipp" +#else +namespace boost_no_cxx11_atomic_smart_ptr = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_ARRAY +#include "boost_no_cxx11_hdr_array.ipp" +#else +namespace boost_no_cxx11_hdr_array = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_CHRONO +#include "boost_no_cxx11_hdr_chrono.ipp" +#else +namespace boost_no_cxx11_hdr_chrono = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_CODECVT +#include "boost_no_cxx11_hdr_codecvt.ipp" +#else +namespace boost_no_cxx11_hdr_codecvt = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +#include "boost_no_cxx11_hdr_condition_variable.ipp" +#else +namespace boost_no_cxx11_hdr_condition_variable = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_FORWARD_LIST +#include "boost_no_cxx11_hdr_forward_list.ipp" +#else +namespace boost_no_cxx11_hdr_forward_list = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_FUTURE +#include "boost_no_cxx11_hdr_future.ipp" +#else +namespace boost_no_cxx11_hdr_future = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST +#include "boost_no_cxx11_hdr_initializer_list.ipp" +#else +namespace boost_no_cxx11_hdr_initializer_list = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_MUTEX +#include "boost_no_cxx11_hdr_mutex.ipp" +#else +namespace boost_no_cxx11_hdr_mutex = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_RANDOM +#include "boost_no_cxx11_hdr_random.ipp" +#else +namespace boost_no_cxx11_hdr_random = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_RATIO +#include "boost_no_cxx11_hdr_ratio.ipp" +#else +namespace boost_no_cxx11_hdr_ratio = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_REGEX +#include "boost_no_cxx11_hdr_regex.ipp" +#else +namespace boost_no_cxx11_hdr_regex = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_SYSTEM_ERROR +#include "boost_no_cxx11_hdr_system_error.ipp" +#else +namespace boost_no_cxx11_hdr_system_error = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_THREAD +#include "boost_no_cxx11_hdr_thread.ipp" +#else +namespace boost_no_cxx11_hdr_thread = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_TUPLE +#include "boost_no_cxx11_hdr_tuple.ipp" +#else +namespace boost_no_cxx11_hdr_tuple = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_TYPEINDEX +#include "boost_no_cxx11_hdr_typeindex.ipp" +#else +namespace boost_no_cxx11_hdr_typeindex = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS +#include "boost_no_cxx11_hdr_type_traits.ipp" +#else +namespace boost_no_cxx11_hdr_type_traits = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_UNORDERED_MAP +#include "boost_no_cxx11_hdr_unordered_map.ipp" +#else +namespace boost_no_cxx11_hdr_unordered_map = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_UNORDERED_SET +#include "boost_no_cxx11_hdr_unordered_set.ipp" +#else +namespace boost_no_cxx11_hdr_unordered_set = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_SMART_PTR +#include "boost_no_cxx11_smart_ptr.ipp" +#else +namespace boost_no_cxx11_smart_ptr = empty_boost; +#endif +#ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL +#include "boost_no_cxx_hdr_functional.ipp" +#else +namespace boost_no_cxx11_hdr_functional = empty_boost; +#endif #ifndef BOOST_NO_DECLTYPE #include "boost_no_decltype.ipp" #else @@ -277,11 +297,6 @@ namespace boost_no_function_template_ordering = empty_boost; #else namespace boost_no_ms_int64_numeric_limits = empty_boost; #endif -#ifndef BOOST_NO_INITIALIZER_LISTS -#include "boost_no_initializer_lists.ipp" -#else -namespace boost_no_initializer_lists = empty_boost; -#endif #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION #include "boost_no_inline_memb_init.ipp" #else @@ -542,6 +557,11 @@ namespace boost_no_templated_iostreams = empty_boost; #else namespace boost_no_template_templates = empty_boost; #endif +#ifndef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#include "boost_no_tem_local_classes.ipp" +#else +namespace boost_no_local_class_template_parameters = empty_boost; +#endif #ifndef BOOST_NO_TWO_PHASE_NAME_LOOKUP #include "boost_no_two_phase_lookup.ipp" #else @@ -1116,96 +1136,6 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_HAS_WINTHREADS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_0x_hdr_array::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_ARRAY at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_chrono::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_CHRONO at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_codecvt::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_CODECVT at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_condition_variable::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_CONDITION_VARIABLE at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_forward_list::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_FORWARD_LIST at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_future::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_FUTURE at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_initializer_list::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_INITIALIZER_LIST at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_mutex::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_MUTEX at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_random::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_RANDOM at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_ratio::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_RATIO at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_regex::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_REGEX at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_system_error::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_SYSTEM_ERROR at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_thread::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_THREAD at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_tuple::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_typeindex::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_type_traits::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_unordered_map::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_UNORDERED_MAP at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } - if(0 != boost_no_0x_hdr_unordered_set::test()) - { - std::cerr << "Failed test for BOOST_NO_0X_HDR_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_adl_barrier::test()) { std::cerr << "Failed test for BOOST_NO_ADL_BARRIER at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1286,6 +1216,116 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_CWCTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_cxx11_allocator::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_ALLOCATOR at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_atomic_smart_ptr::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_ATOMIC_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_array::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_ARRAY at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_chrono::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_CHRONO at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_codecvt::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_CODECVT at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_condition_variable::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_CONDITION_VARIABLE at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_forward_list::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_FORWARD_LIST at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_future::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_FUTURE at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_initializer_list::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_INITIALIZER_LIST at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_mutex::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_MUTEX at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_random::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_RANDOM at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_ratio::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_RATIO at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_regex::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_REGEX at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_system_error::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_SYSTEM_ERROR at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_thread::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_THREAD at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_tuple::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TUPLE at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_typeindex::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPEINDEX at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_type_traits::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_TYPE_TRAITS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_unordered_map::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_MAP at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_unordered_set::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_UNORDERED_SET at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_smart_ptr::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_SMART_PTR at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_cxx11_hdr_functional::test()) + { + std::cerr << "Failed test for BOOST_NO_CXX11_HDR_FUNCTIONAL at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_decltype::test()) { std::cerr << "Failed test for BOOST_NO_DECLTYPE at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1371,11 +1411,6 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_MS_INT64_NUMERIC_LIMITS at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } - if(0 != boost_no_initializer_lists::test()) - { - std::cerr << "Failed test for BOOST_NO_INITIALIZER_LISTS at: " << __FILE__ << ":" << __LINE__ << std::endl; - ++error_count; - } if(0 != boost_no_inclass_member_initialization::test()) { std::cerr << "Failed test for BOOST_NO_INCLASS_MEMBER_INITIALIZATION at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1636,6 +1671,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_TEMPLATE_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_local_class_template_parameters::test()) + { + std::cerr << "Failed test for BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_two_phase_name_lookup::test()) { std::cerr << "Failed test for BOOST_NO_TWO_PHASE_NAME_LOOKUP at: " << __FILE__ << ":" << __LINE__ << std::endl; diff --git a/test/no_0x_hdr_initializer_list_fail.cpp b/test/no_0x_hdr_initializer_list_fail.cpp deleted file mode 100644 index 56afc393..00000000 --- a/test/no_0x_hdr_initializer_list_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_INITIALIZER_LIST -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_INITIALIZER_LIST should not be defined. -// See file boost_no_0x_hdr_initializer_list.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_INITIALIZER_LIST -#include "boost_no_0x_hdr_initializer_list.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_initializer_list::test(); -} - diff --git a/test/no_0x_hdr_initializer_list_pass.cpp b/test/no_0x_hdr_initializer_list_pass.cpp deleted file mode 100644 index e4d40a84..00000000 --- a/test/no_0x_hdr_initializer_list_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_INITIALIZER_LIST -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_INITIALIZER_LIST should be defined. -// See file boost_no_0x_hdr_initializer_list.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_INITIALIZER_LIST -#include "boost_no_0x_hdr_initializer_list.ipp" -#else -namespace boost_no_0x_hdr_initializer_list = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_initializer_list::test(); -} - diff --git a/test/no_0x_hdr_random_fail.cpp b/test/no_0x_hdr_random_fail.cpp deleted file mode 100644 index 2ac05872..00000000 --- a/test/no_0x_hdr_random_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_RANDOM -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_RANDOM should not be defined. -// See file boost_no_0x_hdr_random.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_RANDOM -#include "boost_no_0x_hdr_random.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_random::test(); -} - diff --git a/test/no_0x_hdr_random_pass.cpp b/test/no_0x_hdr_random_pass.cpp deleted file mode 100644 index 0d8946c6..00000000 --- a/test/no_0x_hdr_random_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_RANDOM -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_RANDOM should be defined. -// See file boost_no_0x_hdr_random.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_RANDOM -#include "boost_no_0x_hdr_random.ipp" -#else -namespace boost_no_0x_hdr_random = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_random::test(); -} - diff --git a/test/no_0x_hdr_ratio_fail.cpp b/test/no_0x_hdr_ratio_fail.cpp deleted file mode 100644 index 68279dd1..00000000 --- a/test/no_0x_hdr_ratio_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_RATIO -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_RATIO should not be defined. -// See file boost_no_0x_hdr_ratio.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_RATIO -#include "boost_no_0x_hdr_ratio.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_ratio::test(); -} - diff --git a/test/no_0x_hdr_ratio_pass.cpp b/test/no_0x_hdr_ratio_pass.cpp deleted file mode 100644 index e9bc43fd..00000000 --- a/test/no_0x_hdr_ratio_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_RATIO -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_RATIO should be defined. -// See file boost_no_0x_hdr_ratio.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_RATIO -#include "boost_no_0x_hdr_ratio.ipp" -#else -namespace boost_no_0x_hdr_ratio = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_ratio::test(); -} - diff --git a/test/no_0x_hdr_regex_fail.cpp b/test/no_0x_hdr_regex_fail.cpp deleted file mode 100644 index daeff2bc..00000000 --- a/test/no_0x_hdr_regex_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_REGEX -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_REGEX should not be defined. -// See file boost_no_0x_hdr_regex.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_REGEX -#include "boost_no_0x_hdr_regex.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_regex::test(); -} - diff --git a/test/no_0x_hdr_regex_pass.cpp b/test/no_0x_hdr_regex_pass.cpp deleted file mode 100644 index 81c2138d..00000000 --- a/test/no_0x_hdr_regex_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_REGEX -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_REGEX should be defined. -// See file boost_no_0x_hdr_regex.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_REGEX -#include "boost_no_0x_hdr_regex.ipp" -#else -namespace boost_no_0x_hdr_regex = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_regex::test(); -} - diff --git a/test/no_0x_hdr_system_error_fail.cpp b/test/no_0x_hdr_system_error_fail.cpp deleted file mode 100644 index 73cb08b5..00000000 --- a/test/no_0x_hdr_system_error_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_SYSTEM_ERROR -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_SYSTEM_ERROR should not be defined. -// See file boost_no_0x_hdr_system_error.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_SYSTEM_ERROR -#include "boost_no_0x_hdr_system_error.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_system_error::test(); -} - diff --git a/test/no_0x_hdr_system_error_pass.cpp b/test/no_0x_hdr_system_error_pass.cpp deleted file mode 100644 index 9cf8b4f0..00000000 --- a/test/no_0x_hdr_system_error_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_SYSTEM_ERROR -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_SYSTEM_ERROR should be defined. -// See file boost_no_0x_hdr_system_error.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_SYSTEM_ERROR -#include "boost_no_0x_hdr_system_error.ipp" -#else -namespace boost_no_0x_hdr_system_error = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_system_error::test(); -} - diff --git a/test/no_0x_hdr_tuple_fail.cpp b/test/no_0x_hdr_tuple_fail.cpp deleted file mode 100644 index 80d7d7f8..00000000 --- a/test/no_0x_hdr_tuple_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_TUPLE -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_TUPLE should not be defined. -// See file boost_no_0x_hdr_tuple.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_TUPLE -#include "boost_no_0x_hdr_tuple.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_tuple::test(); -} - diff --git a/test/no_0x_hdr_tuple_pass.cpp b/test/no_0x_hdr_tuple_pass.cpp deleted file mode 100644 index 69729b67..00000000 --- a/test/no_0x_hdr_tuple_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_TUPLE -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_TUPLE should be defined. -// See file boost_no_0x_hdr_tuple.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_TUPLE -#include "boost_no_0x_hdr_tuple.ipp" -#else -namespace boost_no_0x_hdr_tuple = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_tuple::test(); -} - diff --git a/test/no_0x_hdr_type_traits_fail.cpp b/test/no_0x_hdr_type_traits_fail.cpp deleted file mode 100644 index af09e818..00000000 --- a/test/no_0x_hdr_type_traits_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_TYPE_TRAITS -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_TYPE_TRAITS should not be defined. -// See file boost_no_0x_hdr_type_traits.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_TYPE_TRAITS -#include "boost_no_0x_hdr_type_traits.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_type_traits::test(); -} - diff --git a/test/no_0x_hdr_type_traits_pass.cpp b/test/no_0x_hdr_type_traits_pass.cpp deleted file mode 100644 index 7f248b65..00000000 --- a/test/no_0x_hdr_type_traits_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_TYPE_TRAITS -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_TYPE_TRAITS should be defined. -// See file boost_no_0x_hdr_type_traits.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_TYPE_TRAITS -#include "boost_no_0x_hdr_type_traits.ipp" -#else -namespace boost_no_0x_hdr_type_traits = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_type_traits::test(); -} - diff --git a/test/no_0x_hdr_unordered_map_fail.cpp b/test/no_0x_hdr_unordered_map_fail.cpp deleted file mode 100644 index 292fd5de..00000000 --- a/test/no_0x_hdr_unordered_map_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_UNORDERED_MAP -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_UNORDERED_MAP should not be defined. -// See file boost_no_0x_hdr_unordered_map.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_UNORDERED_MAP -#include "boost_no_0x_hdr_unordered_map.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_unordered_map::test(); -} - diff --git a/test/no_0x_hdr_unordered_map_pass.cpp b/test/no_0x_hdr_unordered_map_pass.cpp deleted file mode 100644 index 1ed20d30..00000000 --- a/test/no_0x_hdr_unordered_map_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_UNORDERED_MAP -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_UNORDERED_MAP should be defined. -// See file boost_no_0x_hdr_unordered_map.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_UNORDERED_MAP -#include "boost_no_0x_hdr_unordered_map.ipp" -#else -namespace boost_no_0x_hdr_unordered_map = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_unordered_map::test(); -} - diff --git a/test/no_0x_hdr_unordered_set_fail.cpp b/test/no_0x_hdr_unordered_set_fail.cpp deleted file mode 100644 index 859733a5..00000000 --- a/test/no_0x_hdr_unordered_set_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_UNORDERED_SET -// This file should not compile, if it does then -// BOOST_NO_0X_HDR_UNORDERED_SET should not be defined. -// See file boost_no_0x_hdr_unordered_set.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 -#include "test.hpp" - -#ifdef BOOST_NO_0X_HDR_UNORDERED_SET -#include "boost_no_0x_hdr_unordered_set.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_unordered_set::test(); -} - diff --git a/test/no_0x_hdr_unordered_set_pass.cpp b/test/no_0x_hdr_unordered_set_pass.cpp deleted file mode 100644 index 16b5a25d..00000000 --- a/test/no_0x_hdr_unordered_set_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Fri May 15 11:57:42 2009 -// 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_0X_HDR_UNORDERED_SET -// This file should compile, if it does not then -// BOOST_NO_0X_HDR_UNORDERED_SET should be defined. -// See file boost_no_0x_hdr_unordered_set.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 -#include "test.hpp" - -#ifndef BOOST_NO_0X_HDR_UNORDERED_SET -#include "boost_no_0x_hdr_unordered_set.ipp" -#else -namespace boost_no_0x_hdr_unordered_set = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_0x_hdr_unordered_set::test(); -} - diff --git a/test/no_cxx11_allocator_fail.cpp b/test/no_cxx11_allocator_fail.cpp new file mode 100644 index 00000000..0fdb14be --- /dev/null +++ b/test/no_cxx11_allocator_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:42 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_ALLOCATOR +// This file should not compile, if it does then +// BOOST_NO_CXX11_ALLOCATOR should not be defined. +// See file boost_no_cxx11_allocator.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_ALLOCATOR +#include "boost_no_cxx11_allocator.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_allocator::test(); +} + diff --git a/test/no_cxx11_allocator_pass.cpp b/test/no_cxx11_allocator_pass.cpp new file mode 100644 index 00000000..20a4d63b --- /dev/null +++ b/test/no_cxx11_allocator_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:42 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_ALLOCATOR +// This file should compile, if it does not then +// BOOST_NO_CXX11_ALLOCATOR should be defined. +// See file boost_no_cxx11_allocator.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_ALLOCATOR +#include "boost_no_cxx11_allocator.ipp" +#else +namespace boost_no_cxx11_allocator = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_allocator::test(); +} + diff --git a/test/no_cxx11_atomic_sp_fail.cpp b/test/no_cxx11_atomic_sp_fail.cpp new file mode 100644 index 00000000..9c8a6202 --- /dev/null +++ b/test/no_cxx11_atomic_sp_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:42 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_ATOMIC_SMART_PTR +// This file should not compile, if it does then +// BOOST_NO_CXX11_ATOMIC_SMART_PTR should not be defined. +// See file boost_no_cxx11_atomic_sp.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_ATOMIC_SMART_PTR +#include "boost_no_cxx11_atomic_sp.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_atomic_smart_ptr::test(); +} + diff --git a/test/no_cxx11_atomic_sp_pass.cpp b/test/no_cxx11_atomic_sp_pass.cpp new file mode 100644 index 00000000..5b7b1719 --- /dev/null +++ b/test/no_cxx11_atomic_sp_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:42 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_ATOMIC_SMART_PTR +// This file should compile, if it does not then +// BOOST_NO_CXX11_ATOMIC_SMART_PTR should be defined. +// See file boost_no_cxx11_atomic_sp.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_ATOMIC_SMART_PTR +#include "boost_no_cxx11_atomic_sp.ipp" +#else +namespace boost_no_cxx11_atomic_smart_ptr = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_atomic_smart_ptr::test(); +} + diff --git a/test/no_0x_hdr_array_fail.cpp b/test/no_cxx11_hdr_array_fail.cpp similarity index 73% rename from test/no_0x_hdr_array_fail.cpp rename to test/no_cxx11_hdr_array_fail.cpp index 64bea165..766c0f58 100644 --- a/test/no_0x_hdr_array_fail.cpp +++ b/test/no_cxx11_hdr_array_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_ARRAY +// Test file for macro BOOST_NO_CXX11_HDR_ARRAY // This file should not compile, if it does then -// BOOST_NO_0X_HDR_ARRAY should not be defined. -// See file boost_no_0x_hdr_array.ipp for details +// BOOST_NO_CXX11_HDR_ARRAY should not be defined. +// See file boost_no_cxx11_hdr_array.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_ARRAY -#include "boost_no_0x_hdr_array.ipp" +#ifdef BOOST_NO_CXX11_HDR_ARRAY +#include "boost_no_cxx11_hdr_array.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_array::test(); + return boost_no_cxx11_hdr_array::test(); } diff --git a/test/no_0x_hdr_array_pass.cpp b/test/no_cxx11_hdr_array_pass.cpp similarity index 69% rename from test/no_0x_hdr_array_pass.cpp rename to test/no_cxx11_hdr_array_pass.cpp index 0539fad7..49384054 100644 --- a/test/no_0x_hdr_array_pass.cpp +++ b/test/no_cxx11_hdr_array_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_ARRAY +// Test file for macro BOOST_NO_CXX11_HDR_ARRAY // This file should compile, if it does not then -// BOOST_NO_0X_HDR_ARRAY should be defined. -// See file boost_no_0x_hdr_array.ipp for details +// BOOST_NO_CXX11_HDR_ARRAY should be defined. +// See file boost_no_cxx11_hdr_array.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_ARRAY -#include "boost_no_0x_hdr_array.ipp" +#ifndef BOOST_NO_CXX11_HDR_ARRAY +#include "boost_no_cxx11_hdr_array.ipp" #else -namespace boost_no_0x_hdr_array = empty_boost; +namespace boost_no_cxx11_hdr_array = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_array::test(); + return boost_no_cxx11_hdr_array::test(); } diff --git a/test/no_cxx11_hdr_chrono_fail.cpp b/test/no_cxx11_hdr_chrono_fail.cpp new file mode 100644 index 00000000..d1ac76e0 --- /dev/null +++ b/test/no_cxx11_hdr_chrono_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CHRONO +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_CHRONO should not be defined. +// See file boost_no_cxx11_hdr_chrono.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_CHRONO +#include "boost_no_cxx11_hdr_chrono.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_chrono::test(); +} + diff --git a/test/no_cxx11_hdr_chrono_pass.cpp b/test/no_cxx11_hdr_chrono_pass.cpp new file mode 100644 index 00000000..3bc1af88 --- /dev/null +++ b/test/no_cxx11_hdr_chrono_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CHRONO +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_CHRONO should be defined. +// See file boost_no_cxx11_hdr_chrono.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_CHRONO +#include "boost_no_cxx11_hdr_chrono.ipp" +#else +namespace boost_no_cxx11_hdr_chrono = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_chrono::test(); +} + diff --git a/test/no_cxx11_hdr_codecvt_fail.cpp b/test/no_cxx11_hdr_codecvt_fail.cpp new file mode 100644 index 00000000..041fd0a2 --- /dev/null +++ b/test/no_cxx11_hdr_codecvt_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CODECVT +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_CODECVT should not be defined. +// See file boost_no_cxx11_hdr_codecvt.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_CODECVT +#include "boost_no_cxx11_hdr_codecvt.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_codecvt::test(); +} + diff --git a/test/no_cxx11_hdr_codecvt_pass.cpp b/test/no_cxx11_hdr_codecvt_pass.cpp new file mode 100644 index 00000000..241a38d4 --- /dev/null +++ b/test/no_cxx11_hdr_codecvt_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CODECVT +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_CODECVT should be defined. +// See file boost_no_cxx11_hdr_codecvt.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_CODECVT +#include "boost_no_cxx11_hdr_codecvt.ipp" +#else +namespace boost_no_cxx11_hdr_codecvt = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_codecvt::test(); +} + diff --git a/test/no_cxx11_hdr_condition_variable_fail.cpp b/test/no_cxx11_hdr_condition_variable_fail.cpp new file mode 100644 index 00000000..f34cd377 --- /dev/null +++ b/test/no_cxx11_hdr_condition_variable_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CONDITION_VARIABLE +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_CONDITION_VARIABLE should not be defined. +// See file boost_no_cxx11_hdr_condition_variable.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +#include "boost_no_cxx11_hdr_condition_variable.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_condition_variable::test(); +} + diff --git a/test/no_cxx11_hdr_condition_variable_pass.cpp b/test/no_cxx11_hdr_condition_variable_pass.cpp new file mode 100644 index 00000000..017084bb --- /dev/null +++ b/test/no_cxx11_hdr_condition_variable_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_CONDITION_VARIABLE +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_CONDITION_VARIABLE should be defined. +// See file boost_no_cxx11_hdr_condition_variable.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_CONDITION_VARIABLE +#include "boost_no_cxx11_hdr_condition_variable.ipp" +#else +namespace boost_no_cxx11_hdr_condition_variable = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_condition_variable::test(); +} + diff --git a/test/no_cxx11_hdr_forward_list_fail.cpp b/test/no_cxx11_hdr_forward_list_fail.cpp new file mode 100644 index 00000000..9a1205d4 --- /dev/null +++ b/test/no_cxx11_hdr_forward_list_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_FORWARD_LIST +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_FORWARD_LIST should not be defined. +// See file boost_no_cxx11_hdr_forward_list.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_FORWARD_LIST +#include "boost_no_cxx11_hdr_forward_list.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_forward_list::test(); +} + diff --git a/test/no_cxx11_hdr_forward_list_pass.cpp b/test/no_cxx11_hdr_forward_list_pass.cpp new file mode 100644 index 00000000..3e8b55b5 --- /dev/null +++ b/test/no_cxx11_hdr_forward_list_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_FORWARD_LIST +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_FORWARD_LIST should be defined. +// See file boost_no_cxx11_hdr_forward_list.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_FORWARD_LIST +#include "boost_no_cxx11_hdr_forward_list.ipp" +#else +namespace boost_no_cxx11_hdr_forward_list = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_forward_list::test(); +} + diff --git a/test/no_cxx11_hdr_future_fail.cpp b/test/no_cxx11_hdr_future_fail.cpp new file mode 100644 index 00000000..7640f9d3 --- /dev/null +++ b/test/no_cxx11_hdr_future_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_FUTURE +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_FUTURE should not be defined. +// See file boost_no_cxx11_hdr_future.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_FUTURE +#include "boost_no_cxx11_hdr_future.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_future::test(); +} + diff --git a/test/no_cxx11_hdr_future_pass.cpp b/test/no_cxx11_hdr_future_pass.cpp new file mode 100644 index 00000000..ec169526 --- /dev/null +++ b/test/no_cxx11_hdr_future_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_FUTURE +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_FUTURE should be defined. +// See file boost_no_cxx11_hdr_future.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_FUTURE +#include "boost_no_cxx11_hdr_future.ipp" +#else +namespace boost_no_cxx11_hdr_future = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_future::test(); +} + diff --git a/test/no_0x_hdr_condition_variable_fail.cpp b/test/no_cxx11_hdr_initializer_list_fail.cpp similarity index 69% rename from test/no_0x_hdr_condition_variable_fail.cpp rename to test/no_cxx11_hdr_initializer_list_fail.cpp index a119cfc9..6dfe099e 100644 --- a/test/no_0x_hdr_condition_variable_fail.cpp +++ b/test/no_cxx11_hdr_initializer_list_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CONDITION_VARIABLE +// Test file for macro BOOST_NO_CXX11_HDR_INITIALIZER_LIST // This file should not compile, if it does then -// BOOST_NO_0X_HDR_CONDITION_VARIABLE should not be defined. -// See file boost_no_0x_hdr_condition_variable.ipp for details +// BOOST_NO_CXX11_HDR_INITIALIZER_LIST should not be defined. +// See file boost_no_cxx11_hdr_initializer_list.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_CONDITION_VARIABLE -#include "boost_no_0x_hdr_condition_variable.ipp" +#ifdef BOOST_NO_CXX11_HDR_INITIALIZER_LIST +#include "boost_no_cxx11_hdr_initializer_list.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_condition_variable::test(); + return boost_no_cxx11_hdr_initializer_list::test(); } diff --git a/test/no_0x_hdr_condition_variable_pass.cpp b/test/no_cxx11_hdr_initializer_list_pass.cpp similarity index 64% rename from test/no_0x_hdr_condition_variable_pass.cpp rename to test/no_cxx11_hdr_initializer_list_pass.cpp index 1749f243..2a715390 100644 --- a/test/no_0x_hdr_condition_variable_pass.cpp +++ b/test/no_cxx11_hdr_initializer_list_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CONDITION_VARIABLE +// Test file for macro BOOST_NO_CXX11_HDR_INITIALIZER_LIST // This file should compile, if it does not then -// BOOST_NO_0X_HDR_CONDITION_VARIABLE should be defined. -// See file boost_no_0x_hdr_condition_variable.ipp for details +// BOOST_NO_CXX11_HDR_INITIALIZER_LIST should be defined. +// See file boost_no_cxx11_hdr_initializer_list.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_CONDITION_VARIABLE -#include "boost_no_0x_hdr_condition_variable.ipp" +#ifndef BOOST_NO_CXX11_HDR_INITIALIZER_LIST +#include "boost_no_cxx11_hdr_initializer_list.ipp" #else -namespace boost_no_0x_hdr_condition_variable = empty_boost; +namespace boost_no_cxx11_hdr_initializer_list = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_condition_variable::test(); + return boost_no_cxx11_hdr_initializer_list::test(); } diff --git a/test/no_0x_hdr_codecvt_fail.cpp b/test/no_cxx11_hdr_mutex_fail.cpp similarity index 73% rename from test/no_0x_hdr_codecvt_fail.cpp rename to test/no_cxx11_hdr_mutex_fail.cpp index 6cfcfb25..87432ec9 100644 --- a/test/no_0x_hdr_codecvt_fail.cpp +++ b/test/no_cxx11_hdr_mutex_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CODECVT +// Test file for macro BOOST_NO_CXX11_HDR_MUTEX // This file should not compile, if it does then -// BOOST_NO_0X_HDR_CODECVT should not be defined. -// See file boost_no_0x_hdr_codecvt.ipp for details +// BOOST_NO_CXX11_HDR_MUTEX should not be defined. +// See file boost_no_cxx11_hdr_mutex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_CODECVT -#include "boost_no_0x_hdr_codecvt.ipp" +#ifdef BOOST_NO_CXX11_HDR_MUTEX +#include "boost_no_cxx11_hdr_mutex.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_codecvt::test(); + return boost_no_cxx11_hdr_mutex::test(); } diff --git a/test/no_0x_hdr_codecvt_pass.cpp b/test/no_cxx11_hdr_mutex_pass.cpp similarity index 69% rename from test/no_0x_hdr_codecvt_pass.cpp rename to test/no_cxx11_hdr_mutex_pass.cpp index 93c74f2f..a912b2ca 100644 --- a/test/no_0x_hdr_codecvt_pass.cpp +++ b/test/no_cxx11_hdr_mutex_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CODECVT +// Test file for macro BOOST_NO_CXX11_HDR_MUTEX // This file should compile, if it does not then -// BOOST_NO_0X_HDR_CODECVT should be defined. -// See file boost_no_0x_hdr_codecvt.ipp for details +// BOOST_NO_CXX11_HDR_MUTEX should be defined. +// See file boost_no_cxx11_hdr_mutex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_CODECVT -#include "boost_no_0x_hdr_codecvt.ipp" +#ifndef BOOST_NO_CXX11_HDR_MUTEX +#include "boost_no_cxx11_hdr_mutex.ipp" #else -namespace boost_no_0x_hdr_codecvt = empty_boost; +namespace boost_no_cxx11_hdr_mutex = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_codecvt::test(); + return boost_no_cxx11_hdr_mutex::test(); } diff --git a/test/no_cxx11_hdr_random_fail.cpp b/test/no_cxx11_hdr_random_fail.cpp new file mode 100644 index 00000000..e4ed0f8e --- /dev/null +++ b/test/no_cxx11_hdr_random_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_RANDOM +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_RANDOM should not be defined. +// See file boost_no_cxx11_hdr_random.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_RANDOM +#include "boost_no_cxx11_hdr_random.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_random::test(); +} + diff --git a/test/no_cxx11_hdr_random_pass.cpp b/test/no_cxx11_hdr_random_pass.cpp new file mode 100644 index 00000000..7995481a --- /dev/null +++ b/test/no_cxx11_hdr_random_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_RANDOM +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_RANDOM should be defined. +// See file boost_no_cxx11_hdr_random.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_RANDOM +#include "boost_no_cxx11_hdr_random.ipp" +#else +namespace boost_no_cxx11_hdr_random = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_random::test(); +} + diff --git a/test/no_0x_hdr_future_fail.cpp b/test/no_cxx11_hdr_ratio_fail.cpp similarity index 73% rename from test/no_0x_hdr_future_fail.cpp rename to test/no_cxx11_hdr_ratio_fail.cpp index ca4ba880..8e15efb6 100644 --- a/test/no_0x_hdr_future_fail.cpp +++ b/test/no_cxx11_hdr_ratio_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_FUTURE +// Test file for macro BOOST_NO_CXX11_HDR_RATIO // This file should not compile, if it does then -// BOOST_NO_0X_HDR_FUTURE should not be defined. -// See file boost_no_0x_hdr_future.ipp for details +// BOOST_NO_CXX11_HDR_RATIO should not be defined. +// See file boost_no_cxx11_hdr_ratio.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_FUTURE -#include "boost_no_0x_hdr_future.ipp" +#ifdef BOOST_NO_CXX11_HDR_RATIO +#include "boost_no_cxx11_hdr_ratio.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_future::test(); + return boost_no_cxx11_hdr_ratio::test(); } diff --git a/test/no_0x_hdr_chrono_pass.cpp b/test/no_cxx11_hdr_ratio_pass.cpp similarity index 69% rename from test/no_0x_hdr_chrono_pass.cpp rename to test/no_cxx11_hdr_ratio_pass.cpp index fc8f6396..8c1b2d46 100644 --- a/test/no_0x_hdr_chrono_pass.cpp +++ b/test/no_cxx11_hdr_ratio_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CHRONO +// Test file for macro BOOST_NO_CXX11_HDR_RATIO // This file should compile, if it does not then -// BOOST_NO_0X_HDR_CHRONO should be defined. -// See file boost_no_0x_hdr_chrono.ipp for details +// BOOST_NO_CXX11_HDR_RATIO should be defined. +// See file boost_no_cxx11_hdr_ratio.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_CHRONO -#include "boost_no_0x_hdr_chrono.ipp" +#ifndef BOOST_NO_CXX11_HDR_RATIO +#include "boost_no_cxx11_hdr_ratio.ipp" #else -namespace boost_no_0x_hdr_chrono = empty_boost; +namespace boost_no_cxx11_hdr_ratio = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_chrono::test(); + return boost_no_cxx11_hdr_ratio::test(); } diff --git a/test/no_0x_hdr_mutex_fail.cpp b/test/no_cxx11_hdr_regex_fail.cpp similarity index 73% rename from test/no_0x_hdr_mutex_fail.cpp rename to test/no_cxx11_hdr_regex_fail.cpp index b9150146..178d5b56 100644 --- a/test/no_0x_hdr_mutex_fail.cpp +++ b/test/no_cxx11_hdr_regex_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_MUTEX +// Test file for macro BOOST_NO_CXX11_HDR_REGEX // This file should not compile, if it does then -// BOOST_NO_0X_HDR_MUTEX should not be defined. -// See file boost_no_0x_hdr_mutex.ipp for details +// BOOST_NO_CXX11_HDR_REGEX should not be defined. +// See file boost_no_cxx11_hdr_regex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_MUTEX -#include "boost_no_0x_hdr_mutex.ipp" +#ifdef BOOST_NO_CXX11_HDR_REGEX +#include "boost_no_cxx11_hdr_regex.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_mutex::test(); + return boost_no_cxx11_hdr_regex::test(); } diff --git a/test/no_0x_hdr_future_pass.cpp b/test/no_cxx11_hdr_regex_pass.cpp similarity index 69% rename from test/no_0x_hdr_future_pass.cpp rename to test/no_cxx11_hdr_regex_pass.cpp index 7e99a53d..6acd2e8e 100644 --- a/test/no_0x_hdr_future_pass.cpp +++ b/test/no_cxx11_hdr_regex_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_FUTURE +// Test file for macro BOOST_NO_CXX11_HDR_REGEX // This file should compile, if it does not then -// BOOST_NO_0X_HDR_FUTURE should be defined. -// See file boost_no_0x_hdr_future.ipp for details +// BOOST_NO_CXX11_HDR_REGEX should be defined. +// See file boost_no_cxx11_hdr_regex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_FUTURE -#include "boost_no_0x_hdr_future.ipp" +#ifndef BOOST_NO_CXX11_HDR_REGEX +#include "boost_no_cxx11_hdr_regex.ipp" #else -namespace boost_no_0x_hdr_future = empty_boost; +namespace boost_no_cxx11_hdr_regex = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_future::test(); + return boost_no_cxx11_hdr_regex::test(); } diff --git a/test/no_cxx11_hdr_system_error_fail.cpp b/test/no_cxx11_hdr_system_error_fail.cpp new file mode 100644 index 00000000..85bb100b --- /dev/null +++ b/test/no_cxx11_hdr_system_error_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_SYSTEM_ERROR +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_SYSTEM_ERROR should not be defined. +// See file boost_no_cxx11_hdr_system_error.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_SYSTEM_ERROR +#include "boost_no_cxx11_hdr_system_error.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_system_error::test(); +} + diff --git a/test/no_cxx11_hdr_system_error_pass.cpp b/test/no_cxx11_hdr_system_error_pass.cpp new file mode 100644 index 00000000..042b52f8 --- /dev/null +++ b/test/no_cxx11_hdr_system_error_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_SYSTEM_ERROR +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_SYSTEM_ERROR should be defined. +// See file boost_no_cxx11_hdr_system_error.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_SYSTEM_ERROR +#include "boost_no_cxx11_hdr_system_error.ipp" +#else +namespace boost_no_cxx11_hdr_system_error = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_system_error::test(); +} + diff --git a/test/no_0x_hdr_thread_fail.cpp b/test/no_cxx11_hdr_thread_fail.cpp similarity index 73% rename from test/no_0x_hdr_thread_fail.cpp rename to test/no_cxx11_hdr_thread_fail.cpp index 2a0c73eb..0e54a012 100644 --- a/test/no_0x_hdr_thread_fail.cpp +++ b/test/no_cxx11_hdr_thread_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_THREAD +// Test file for macro BOOST_NO_CXX11_HDR_THREAD // This file should not compile, if it does then -// BOOST_NO_0X_HDR_THREAD should not be defined. -// See file boost_no_0x_hdr_thread.ipp for details +// BOOST_NO_CXX11_HDR_THREAD should not be defined. +// See file boost_no_cxx11_hdr_thread.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_THREAD -#include "boost_no_0x_hdr_thread.ipp" +#ifdef BOOST_NO_CXX11_HDR_THREAD +#include "boost_no_cxx11_hdr_thread.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_thread::test(); + return boost_no_cxx11_hdr_thread::test(); } diff --git a/test/no_0x_hdr_thread_pass.cpp b/test/no_cxx11_hdr_thread_pass.cpp similarity index 69% rename from test/no_0x_hdr_thread_pass.cpp rename to test/no_cxx11_hdr_thread_pass.cpp index 2184b439..34313ab3 100644 --- a/test/no_0x_hdr_thread_pass.cpp +++ b/test/no_cxx11_hdr_thread_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_THREAD +// Test file for macro BOOST_NO_CXX11_HDR_THREAD // This file should compile, if it does not then -// BOOST_NO_0X_HDR_THREAD should be defined. -// See file boost_no_0x_hdr_thread.ipp for details +// BOOST_NO_CXX11_HDR_THREAD should be defined. +// See file boost_no_cxx11_hdr_thread.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_THREAD -#include "boost_no_0x_hdr_thread.ipp" +#ifndef BOOST_NO_CXX11_HDR_THREAD +#include "boost_no_cxx11_hdr_thread.ipp" #else -namespace boost_no_0x_hdr_thread = empty_boost; +namespace boost_no_cxx11_hdr_thread = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_thread::test(); + return boost_no_cxx11_hdr_thread::test(); } diff --git a/test/no_0x_hdr_chrono_fail.cpp b/test/no_cxx11_hdr_tuple_fail.cpp similarity index 73% rename from test/no_0x_hdr_chrono_fail.cpp rename to test/no_cxx11_hdr_tuple_fail.cpp index f345fa56..655de0f6 100644 --- a/test/no_0x_hdr_chrono_fail.cpp +++ b/test/no_cxx11_hdr_tuple_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_CHRONO +// Test file for macro BOOST_NO_CXX11_HDR_TUPLE // This file should not compile, if it does then -// BOOST_NO_0X_HDR_CHRONO should not be defined. -// See file boost_no_0x_hdr_chrono.ipp for details +// BOOST_NO_CXX11_HDR_TUPLE should not be defined. +// See file boost_no_cxx11_hdr_tuple.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_CHRONO -#include "boost_no_0x_hdr_chrono.ipp" +#ifdef BOOST_NO_CXX11_HDR_TUPLE +#include "boost_no_cxx11_hdr_tuple.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_chrono::test(); + return boost_no_cxx11_hdr_tuple::test(); } diff --git a/test/no_0x_hdr_mutex_pass.cpp b/test/no_cxx11_hdr_tuple_pass.cpp similarity index 69% rename from test/no_0x_hdr_mutex_pass.cpp rename to test/no_cxx11_hdr_tuple_pass.cpp index db7c7473..505a7793 100644 --- a/test/no_0x_hdr_mutex_pass.cpp +++ b/test/no_cxx11_hdr_tuple_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_MUTEX +// Test file for macro BOOST_NO_CXX11_HDR_TUPLE // This file should compile, if it does not then -// BOOST_NO_0X_HDR_MUTEX should be defined. -// See file boost_no_0x_hdr_mutex.ipp for details +// BOOST_NO_CXX11_HDR_TUPLE should be defined. +// See file boost_no_cxx11_hdr_tuple.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_MUTEX -#include "boost_no_0x_hdr_mutex.ipp" +#ifndef BOOST_NO_CXX11_HDR_TUPLE +#include "boost_no_cxx11_hdr_tuple.ipp" #else -namespace boost_no_0x_hdr_mutex = empty_boost; +namespace boost_no_cxx11_hdr_tuple = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_mutex::test(); + return boost_no_cxx11_hdr_tuple::test(); } diff --git a/test/no_0x_hdr_forward_list_fail.cpp b/test/no_cxx11_hdr_type_traits_fail.cpp similarity index 71% rename from test/no_0x_hdr_forward_list_fail.cpp rename to test/no_cxx11_hdr_type_traits_fail.cpp index 0aca798b..603e57e2 100644 --- a/test/no_0x_hdr_forward_list_fail.cpp +++ b/test/no_cxx11_hdr_type_traits_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_FORWARD_LIST +// Test file for macro BOOST_NO_CXX11_HDR_TYPE_TRAITS // This file should not compile, if it does then -// BOOST_NO_0X_HDR_FORWARD_LIST should not be defined. -// See file boost_no_0x_hdr_forward_list.ipp for details +// BOOST_NO_CXX11_HDR_TYPE_TRAITS should not be defined. +// See file boost_no_cxx11_hdr_type_traits.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_FORWARD_LIST -#include "boost_no_0x_hdr_forward_list.ipp" +#ifdef BOOST_NO_CXX11_HDR_TYPE_TRAITS +#include "boost_no_cxx11_hdr_type_traits.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_forward_list::test(); + return boost_no_cxx11_hdr_type_traits::test(); } diff --git a/test/no_0x_hdr_forward_list_pass.cpp b/test/no_cxx11_hdr_type_traits_pass.cpp similarity index 66% rename from test/no_0x_hdr_forward_list_pass.cpp rename to test/no_cxx11_hdr_type_traits_pass.cpp index 3b8d2fff..1f57ef62 100644 --- a/test/no_0x_hdr_forward_list_pass.cpp +++ b/test/no_cxx11_hdr_type_traits_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_FORWARD_LIST +// Test file for macro BOOST_NO_CXX11_HDR_TYPE_TRAITS // This file should compile, if it does not then -// BOOST_NO_0X_HDR_FORWARD_LIST should be defined. -// See file boost_no_0x_hdr_forward_list.ipp for details +// BOOST_NO_CXX11_HDR_TYPE_TRAITS should be defined. +// See file boost_no_cxx11_hdr_type_traits.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_FORWARD_LIST -#include "boost_no_0x_hdr_forward_list.ipp" +#ifndef BOOST_NO_CXX11_HDR_TYPE_TRAITS +#include "boost_no_cxx11_hdr_type_traits.ipp" #else -namespace boost_no_0x_hdr_forward_list = empty_boost; +namespace boost_no_cxx11_hdr_type_traits = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_forward_list::test(); + return boost_no_cxx11_hdr_type_traits::test(); } diff --git a/test/no_0x_hdr_typeindex_fail.cpp b/test/no_cxx11_hdr_typeindex_fail.cpp similarity index 73% rename from test/no_0x_hdr_typeindex_fail.cpp rename to test/no_cxx11_hdr_typeindex_fail.cpp index 83e903d3..3c43b7b6 100644 --- a/test/no_0x_hdr_typeindex_fail.cpp +++ b/test/no_cxx11_hdr_typeindex_fail.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_TYPEINDEX +// Test file for macro BOOST_NO_CXX11_HDR_TYPEINDEX // This file should not compile, if it does then -// BOOST_NO_0X_HDR_TYPEINDEX should not be defined. -// See file boost_no_0x_hdr_typeindex.ipp for details +// BOOST_NO_CXX11_HDR_TYPEINDEX should not be defined. +// See file boost_no_cxx11_hdr_typeindex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifdef BOOST_NO_0X_HDR_TYPEINDEX -#include "boost_no_0x_hdr_typeindex.ipp" +#ifdef BOOST_NO_CXX11_HDR_TYPEINDEX +#include "boost_no_cxx11_hdr_typeindex.ipp" #else #error "this file should not compile" #endif int main( int, char *[] ) { - return boost_no_0x_hdr_typeindex::test(); + return boost_no_cxx11_hdr_typeindex::test(); } diff --git a/test/no_0x_hdr_typeindex_pass.cpp b/test/no_cxx11_hdr_typeindex_pass.cpp similarity index 69% rename from test/no_0x_hdr_typeindex_pass.cpp rename to test/no_cxx11_hdr_typeindex_pass.cpp index 52d38440..c0d999e8 100644 --- a/test/no_0x_hdr_typeindex_pass.cpp +++ b/test/no_cxx11_hdr_typeindex_pass.cpp @@ -10,10 +10,10 @@ // -// Test file for macro BOOST_NO_0X_HDR_TYPEINDEX +// Test file for macro BOOST_NO_CXX11_HDR_TYPEINDEX // This file should compile, if it does not then -// BOOST_NO_0X_HDR_TYPEINDEX should be defined. -// See file boost_no_0x_hdr_typeindex.ipp for details +// BOOST_NO_CXX11_HDR_TYPEINDEX should be defined. +// See file boost_no_cxx11_hdr_typeindex.ipp for details // Must not have BOOST_ASSERT_CONFIG set; it defeats // the objective of this file: @@ -24,14 +24,14 @@ #include #include "test.hpp" -#ifndef BOOST_NO_0X_HDR_TYPEINDEX -#include "boost_no_0x_hdr_typeindex.ipp" +#ifndef BOOST_NO_CXX11_HDR_TYPEINDEX +#include "boost_no_cxx11_hdr_typeindex.ipp" #else -namespace boost_no_0x_hdr_typeindex = empty_boost; +namespace boost_no_cxx11_hdr_typeindex = empty_boost; #endif int main( int, char *[] ) { - return boost_no_0x_hdr_typeindex::test(); + return boost_no_cxx11_hdr_typeindex::test(); } diff --git a/test/no_cxx11_hdr_unordered_map_fail.cpp b/test/no_cxx11_hdr_unordered_map_fail.cpp new file mode 100644 index 00000000..dad493bb --- /dev/null +++ b/test/no_cxx11_hdr_unordered_map_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_UNORDERED_MAP +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_UNORDERED_MAP should not be defined. +// See file boost_no_cxx11_hdr_unordered_map.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_UNORDERED_MAP +#include "boost_no_cxx11_hdr_unordered_map.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_unordered_map::test(); +} + diff --git a/test/no_cxx11_hdr_unordered_map_pass.cpp b/test/no_cxx11_hdr_unordered_map_pass.cpp new file mode 100644 index 00000000..cc30df47 --- /dev/null +++ b/test/no_cxx11_hdr_unordered_map_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_UNORDERED_MAP +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_UNORDERED_MAP should be defined. +// See file boost_no_cxx11_hdr_unordered_map.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_UNORDERED_MAP +#include "boost_no_cxx11_hdr_unordered_map.ipp" +#else +namespace boost_no_cxx11_hdr_unordered_map = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_unordered_map::test(); +} + diff --git a/test/no_cxx11_hdr_unordered_set_fail.cpp b/test/no_cxx11_hdr_unordered_set_fail.cpp new file mode 100644 index 00000000..df9e75d9 --- /dev/null +++ b/test/no_cxx11_hdr_unordered_set_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_UNORDERED_SET +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_UNORDERED_SET should not be defined. +// See file boost_no_cxx11_hdr_unordered_set.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_UNORDERED_SET +#include "boost_no_cxx11_hdr_unordered_set.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_unordered_set::test(); +} + diff --git a/test/no_cxx11_hdr_unordered_set_pass.cpp b/test/no_cxx11_hdr_unordered_set_pass.cpp new file mode 100644 index 00000000..97c5632a --- /dev/null +++ b/test/no_cxx11_hdr_unordered_set_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Fri May 15 11:57:42 2009 +// 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_CXX11_HDR_UNORDERED_SET +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_UNORDERED_SET should be defined. +// See file boost_no_cxx11_hdr_unordered_set.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_UNORDERED_SET +#include "boost_no_cxx11_hdr_unordered_set.ipp" +#else +namespace boost_no_cxx11_hdr_unordered_set = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_unordered_set::test(); +} + diff --git a/test/no_cxx11_smart_ptr_fail.cpp b/test/no_cxx11_smart_ptr_fail.cpp new file mode 100644 index 00000000..41908940 --- /dev/null +++ b/test/no_cxx11_smart_ptr_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:43 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_SMART_PTR +// This file should not compile, if it does then +// BOOST_NO_CXX11_SMART_PTR should not be defined. +// See file boost_no_cxx11_smart_ptr.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_SMART_PTR +#include "boost_no_cxx11_smart_ptr.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_smart_ptr::test(); +} + diff --git a/test/no_cxx11_smart_ptr_pass.cpp b/test/no_cxx11_smart_ptr_pass.cpp new file mode 100644 index 00000000..334cae64 --- /dev/null +++ b/test/no_cxx11_smart_ptr_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:43 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_SMART_PTR +// This file should compile, if it does not then +// BOOST_NO_CXX11_SMART_PTR should be defined. +// See file boost_no_cxx11_smart_ptr.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_SMART_PTR +#include "boost_no_cxx11_smart_ptr.ipp" +#else +namespace boost_no_cxx11_smart_ptr = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_smart_ptr::test(); +} + diff --git a/test/no_cxx_hdr_functional_fail.cpp b/test/no_cxx_hdr_functional_fail.cpp new file mode 100644 index 00000000..15f885a2 --- /dev/null +++ b/test/no_cxx_hdr_functional_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:43 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_HDR_FUNCTIONAL +// This file should not compile, if it does then +// BOOST_NO_CXX11_HDR_FUNCTIONAL should not be defined. +// See file boost_no_cxx_hdr_functional.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 +#include "test.hpp" + +#ifdef BOOST_NO_CXX11_HDR_FUNCTIONAL +#include "boost_no_cxx_hdr_functional.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_functional::test(); +} + diff --git a/test/no_cxx_hdr_functional_pass.cpp b/test/no_cxx_hdr_functional_pass.cpp new file mode 100644 index 00000000..a5fe5c5c --- /dev/null +++ b/test/no_cxx_hdr_functional_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Sun Apr 22 11:15:43 2012 +// 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 72327 2011-06-01 14:51:03Z eric_niebler $ +// + + +// Test file for macro BOOST_NO_CXX11_HDR_FUNCTIONAL +// This file should compile, if it does not then +// BOOST_NO_CXX11_HDR_FUNCTIONAL should be defined. +// See file boost_no_cxx_hdr_functional.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 +#include "test.hpp" + +#ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL +#include "boost_no_cxx_hdr_functional.ipp" +#else +namespace boost_no_cxx11_hdr_functional = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_cxx11_hdr_functional::test(); +} + diff --git a/test/no_initializer_lists_fail.cpp b/test/no_initializer_lists_fail.cpp deleted file mode 100644 index 1cc02556..00000000 --- a/test/no_initializer_lists_fail.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Wed Sep 24 11:44:21 2008 -// 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_INITIALIZER_LISTS -// This file should not compile, if it does then -// BOOST_NO_INITIALIZER_LISTS should not be defined. -// See file boost_no_initializer_lists.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 -#include "test.hpp" - -#ifdef BOOST_NO_INITIALIZER_LISTS -#include "boost_no_initializer_lists.ipp" -#else -#error "this file should not compile" -#endif - -int main( int, char *[] ) -{ - return boost_no_initializer_lists::test(); -} - diff --git a/test/no_initializer_lists_pass.cpp b/test/no_initializer_lists_pass.cpp deleted file mode 100644 index 74e3b5ad..00000000 --- a/test/no_initializer_lists_pass.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// This file was automatically generated on Wed Sep 24 11:44:21 2008 -// 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_INITIALIZER_LISTS -// This file should compile, if it does not then -// BOOST_NO_INITIALIZER_LISTS should be defined. -// See file boost_no_initializer_lists.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 -#include "test.hpp" - -#ifndef BOOST_NO_INITIALIZER_LISTS -#include "boost_no_initializer_lists.ipp" -#else -namespace boost_no_initializer_lists = empty_boost; -#endif - -int main( int, char *[] ) -{ - return boost_no_initializer_lists::test(); -} - diff --git a/test/no_tem_local_classes_fail.cpp b/test/no_tem_local_classes_fail.cpp new file mode 100644 index 00000000..7f24b6ec --- /dev/null +++ b/test/no_tem_local_classes_fail.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Wed Mar 21 13:05:19 2012 +// 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_LOCAL_CLASS_TEMPLATE_PARAMETERS +// This file should not compile, if it does then +// BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS should not be defined. +// See file boost_no_tem_local_classes.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 +#include "test.hpp" + +#ifdef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#include "boost_no_tem_local_classes.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_local_class_template_parameters::test(); +} + diff --git a/test/no_tem_local_classes_pass.cpp b/test/no_tem_local_classes_pass.cpp new file mode 100644 index 00000000..1dcbf59d --- /dev/null +++ b/test/no_tem_local_classes_pass.cpp @@ -0,0 +1,37 @@ +// This file was automatically generated on Wed Mar 21 13:05:19 2012 +// 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_LOCAL_CLASS_TEMPLATE_PARAMETERS +// This file should compile, if it does not then +// BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS should be defined. +// See file boost_no_tem_local_classes.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 +#include "test.hpp" + +#ifndef BOOST_NO_LOCAL_CLASS_TEMPLATE_PARAMETERS +#include "boost_no_tem_local_classes.ipp" +#else +namespace boost_no_local_class_template_parameters = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_local_class_template_parameters::test(); +} +