diff --git a/doc/html/boost_config/acknowledgements.html b/doc/html/boost_config/acknowledgements.html index dd86998d..e7c666fe 100644 --- a/doc/html/boost_config/acknowledgements.html +++ b/doc/html/boost_config/acknowledgements.html @@ -9,14 +9,14 @@ - +
-
Boost C++ Libraries Home Libraries People FAQ More
+
PrevUpHome diff --git a/doc/html/boost_config/boost_macro_reference.html b/doc/html/boost_config/boost_macro_reference.html index 9317914e..fe2d8ac6 100644 --- a/doc/html/boost_config/boost_macro_reference.html +++ b/doc/html/boost_config/boost_macro_reference.html @@ -10,14 +10,14 @@ - +
-
Boost C++ Libraries Home Libraries People FAQ More
+
PrevUpHomeNext @@ -419,6 +419,41 @@ + +

+ BOOST_NO_IOSFWD +

+ + +

+ std lib +

+ + +

+ The standard library lacks <iosfwd>. +

+ + + + +

+ BOOST_NO_IOSTREAM +

+ + +

+ std lib +

+ + +

+ The standard library lacks <iostream>, + <istream> or <ostream>. +

+ + +

BOOST_NO_IS_ABSTRACT @@ -830,6 +865,24 @@ + +

+ BOOST_NO_STD_TYPEINFO +

+ + +

+ Standard library +

+ + +

+ The <typeinfo> header declares type_info + in the global namespace instead of namespace std. +

+ + +

BOOST_NO_STD_USE_FACET @@ -992,6 +1045,23 @@ + +

+ BOOST_NO_TYPEID +

+ + +

+ Compiler +

+ + +

+ The compiler does not support the typeid operator at all. +

+ + +

BOOST_NO_UNREACHABLE_RETURN_DETECTION @@ -2026,6 +2096,18 @@ + +

+ BOOST_HAS_DECLTYPE +

+ + +

+ The compiler supports decltype. +

+ + +

BOOST_HAS_LONG_LONG @@ -2069,9 +2151,7 @@

- The compiler supports variadic templates. Note: variadic templates - have been proposed for C++0x, but have not yet been approved for - inclusion in the language. + The compiler supports variadic templates.

@@ -2717,19 +2797,19 @@

BOOST_LIB_NAME
-
- Required: An identifier containing the basename of the library, for example - 'boost_regex'. -
+

+ Required: An identifier containing the basename of the library, for + example 'boost_regex'. +

BOOST_DYN_LINK
-
- Optional: when set link to dll rather than static library. -
+

+ Optional: when set link to dll rather than static library. +

BOOST_LIB_DIAGNOSTIC
-
- Optional: when set the header will print out the name of the library - selected (useful for debugging). -
+

+ Optional: when set the header will print out the name of the library + selected (useful for debugging). +

diff --git a/doc/html/boost_config/guidelines_for_boost_authors.html b/doc/html/boost_config/guidelines_for_boost_authors.html index 79618234..f501e709 100644 --- a/doc/html/boost_config/guidelines_for_boost_authors.html +++ b/doc/html/boost_config/guidelines_for_boost_authors.html @@ -10,14 +10,14 @@ - +
-
Boost C++ Libraries Home Libraries People FAQ More
+


PrevUpHomeNext diff --git a/doc/html/boost_config/rationale.html b/doc/html/boost_config/rationale.html index a7d10d17..e1c80f1d 100644 --- a/doc/html/boost_config/rationale.html +++ b/doc/html/boost_config/rationale.html @@ -10,14 +10,14 @@ - +
-
Boost C++ Libraries Home Libraries People FAQ More
+
PrevUpHomeNext diff --git a/doc/html/index.html b/doc/html/index.html index 01b07718..d6919414 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -8,14 +8,14 @@ - +
-
Boost C++ Libraries Home Libraries People FAQ More
+
Next
@@ -28,7 +28,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)

@@ -957,7 +957,7 @@

- +

Last revised: June 08, 2007 at 08:33:58 GMT

Last revised: August 25, 2007 at 12:03:01 GMT


diff --git a/doc/macro_reference.qbk b/doc/macro_reference.qbk index a0a4ff4a..546d1a7b 100644 --- a/doc/macro_reference.qbk +++ b/doc/macro_reference.qbk @@ -120,6 +120,12 @@ for another integral type. Use this symbol to decide whether it is appropriate to explicitly specialize a template on `wchar_t` if there is already a specialization for other integer types. ]] +[[`BOOST_NO_IOSFWD`][std lib][ +The standard library lacks ``. +]] +[[`BOOST_NO_IOSTREAM`][std lib][ +The standard library lacks ``, `` or ``. +]] [[`BOOST_NO_IS_ABSTRACT`][Compiler][ The C++ compiler does not support SFINAE with abstract types, this is covered by __CORE_LANGUAGE_DR337__, but is not part of the current standard. Fortunately @@ -210,6 +216,9 @@ functions that should be in ``. [[`BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN`][Standard library][ Defined if the standard library's output iterators are not assignable. ]] +[[`BOOST_NO_STD_TYPEINFO`][Standard library][ +The header declares `type_info` in the global namespace instead of namespace std. +]] [[`BOOST_NO_STD_USE_FACET`][Standard library][ The standard library lacks a conforming `std::use_facet`. ]] @@ -244,6 +253,9 @@ for its containers. [[`BOOST_NO_TEMPLATE_TEMPLATES`][Compiler][ The compiler does not support template template parameters. ]] +[[`BOOST_NO_TYPEID`][Compiler][ +The compiler does not support the typeid operator at all. +]] [[`BOOST_NO_UNREACHABLE_RETURN_DETECTION`][Compiler][ If a return is unreachable, then no return statement should be required, however some compilers insist on it, while other issue a bunch of warnings diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 3c5da533..946994d8 100644 --- a/test/Jamfile.v2 +++ b/test/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 Mon Jan 01 12:39:24 2007 +# This file was automatically generated on Sat Aug 25 12:32:22 2007 # by libs/config/tools/generate.cpp # Copyright John Maddock. # Use, modification and distribution are subject to the @@ -17,7 +17,7 @@ include $(DOT)/options_v2.jam ; run config_info.cpp ; run math_info.cpp : : : borland:static ; run config_test.cpp ; -run limits_test.cpp ../../test/build//boost_test_exec_monitor ; +run limits_test.cpp ; run abi/abi_test.cpp abi/main.cpp ; test-suite "BOOST_HAS_TWO_ARG_USE_FACET" : @@ -29,6 +29,9 @@ test-suite "BOOST_HAS_BETHREADS" : test-suite "BOOST_HAS_CLOCK_GETTIME" : [ run has_clock_gettime_pass.cpp ] [ compile-fail has_clock_gettime_fail.cpp ] ; +test-suite "BOOST_HAS_CONCEPTS" : +[ run has_concepts_pass.cpp ] +[ compile-fail has_concepts_fail.cpp ] ; test-suite "BOOST_HAS_DIRENT_H" : [ run has_dirent_h_pass.cpp ] [ compile-fail has_dirent_h_fail.cpp ] ; @@ -80,6 +83,9 @@ test-suite "BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE" : test-suite "BOOST_HAS_PTHREAD_YIELD" : [ run has_pthread_yield_pass.cpp ] [ compile-fail has_pthread_yield_fail.cpp ] ; +test-suite "BOOST_HAS_RVALUE_REFS" : +[ run has_rvalue_refs_pass.cpp ] +[ compile-fail has_rvalue_refs_fail.cpp ] ; test-suite "BOOST_HAS_SCHED_YIELD" : [ run has_sched_yield_pass.cpp ] [ compile-fail has_sched_yield_fail.cpp ] ; @@ -92,6 +98,9 @@ test-suite "BOOST_HAS_SIGACTION" : test-suite "BOOST_HAS_SLIST" : [ run has_slist_pass.cpp ] [ compile-fail has_slist_fail.cpp ] ; +test-suite "BOOST_HAS_STATIC_ASSERT" : +[ run has_static_assert_pass.cpp ] +[ compile-fail has_static_assert_fail.cpp ] ; test-suite "BOOST_HAS_STDINT_H" : [ run has_stdint_h_pass.cpp ] [ compile-fail has_stdint_h_fail.cpp ] ; @@ -152,6 +161,9 @@ test-suite "BOOST_HAS_TR1_UTILITY" : test-suite "BOOST_HAS_UNISTD_H" : [ run has_unistd_h_pass.cpp ] [ compile-fail has_unistd_h_fail.cpp ] ; +test-suite "BOOST_HAS_VARIADIC_TMPL" : +[ run has_variadic_tmpl_pass.cpp ] +[ compile-fail has_variadic_tmpl_fail.cpp ] ; test-suite "BOOST_MSVC6_MEMBER_TEMPLATES" : [ run has_vc6_mem_templ_pass.cpp ] [ compile-fail has_vc6_mem_templ_fail.cpp ] ; @@ -221,6 +233,12 @@ test-suite "BOOST_NO_INCLASS_MEMBER_INITIALIZATION" : test-suite "BOOST_NO_INTEGRAL_INT64_T" : [ run no_integral_int64_t_pass.cpp ] [ compile-fail no_integral_int64_t_fail.cpp ] ; +test-suite "BOOST_NO_IOSFWD" : +[ run no_iosfwd_pass.cpp ] +[ compile-fail no_iosfwd_fail.cpp ] ; +test-suite "BOOST_NO_IOSTREAM" : +[ run no_iostream_pass.cpp ] +[ compile-fail no_iostream_fail.cpp ] ; test-suite "BOOST_NO_IS_ABSTRACT" : [ run no_is_abstract_pass.cpp ] [ compile-fail no_is_abstract_fail.cpp ] ; @@ -299,6 +317,9 @@ test-suite "BOOST_NO_STD_MIN_MAX" : test-suite "BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN" : [ run no_std_oi_assign_pass.cpp ] [ compile-fail no_std_oi_assign_fail.cpp ] ; +test-suite "BOOST_NO_STD_TYPEINFO" : +[ run no_std_typeinfo_pass.cpp ] +[ compile-fail no_std_typeinfo_fail.cpp ] ; test-suite "BOOST_NO_STD_USE_FACET" : [ run no_std_use_facet_pass.cpp ] [ compile-fail no_std_use_facet_fail.cpp ] ; @@ -317,6 +338,9 @@ test-suite "BOOST_NO_TEMPLATE_TEMPLATES" : test-suite "BOOST_NO_TWO_PHASE_NAME_LOOKUP" : [ run no_two_phase_lookup_pass.cpp ] [ compile-fail no_two_phase_lookup_fail.cpp ] ; +test-suite "BOOST_NO_TYPEID" : +[ run no_typeid_pass.cpp ] +[ compile-fail no_typeid_fail.cpp ] ; test-suite "BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL" : [ run no_using_breaks_adl_pass.cpp ] [ compile-fail no_using_breaks_adl_fail.cpp ] ; @@ -333,5 +357,3 @@ test-suite "BOOST_NO_INTRINSIC_WCHAR_T" : [ run no_wchar_t_pass.cpp ] [ compile-fail no_wchar_t_fail.cpp ] ; - - diff --git a/test/boost_no_iosfwd.ipp b/test/boost_no_iosfwd.ipp new file mode 100644 index 00000000..86ac42e6 --- /dev/null +++ b/test/boost_no_iosfwd.ipp @@ -0,0 +1,23 @@ +// (C) Copyright Peter Dimov 2007. +// 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_IOSFWD +// TITLE: +// DESCRIPTION: The header is missing + +#include + +namespace boost_no_iosfwd +{ + +int test() +{ + return 0; +} + +} + diff --git a/test/boost_no_iostream.ipp b/test/boost_no_iostream.ipp new file mode 100644 index 00000000..abaceac3 --- /dev/null +++ b/test/boost_no_iostream.ipp @@ -0,0 +1,25 @@ +// (C) Copyright Peter Dimov 2007. +// 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_IOSTREAM +// TITLE: No iostream support +// DESCRIPTION: The , , headers are missing + +#include +#include +#include + +namespace boost_no_iostream +{ + +int test() +{ + return 0; +} + +} + diff --git a/test/boost_no_std_typeinfo.ipp b/test/boost_no_std_typeinfo.ipp new file mode 100644 index 00000000..01d5227f --- /dev/null +++ b/test/boost_no_std_typeinfo.ipp @@ -0,0 +1,24 @@ +// (C) Copyright Peter Dimov 2007. +// 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_STD_TYPEINFO +// TITLE: type_info not in namespace std +// DESCRIPTION: The header declares type_info in the global namespace instead of std + +#include + +namespace boost_no_std_typeinfo +{ + +int test() +{ + std::type_info * p = 0; + return 0; +} + +} + diff --git a/test/boost_no_typeid.ipp b/test/boost_no_typeid.ipp new file mode 100644 index 00000000..3b127d5f --- /dev/null +++ b/test/boost_no_typeid.ipp @@ -0,0 +1,24 @@ +// (C) Copyright Peter Dimov 2007. +// 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_TYPEID +// TITLE: typeid unavailable +// DESCRIPTION: The compiler does not support typeid in this mode + +#include + +namespace boost_no_typeid +{ + +int test() +{ + typeid(int); + return 0; +} + +} + diff --git a/test/config_info.cpp b/test/config_info.cpp index e71f3d8e..c31bd97c 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -899,6 +899,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL); PRINT_MACRO(BOOST_HAS_BETHREADS); PRINT_MACRO(BOOST_HAS_CLOCK_GETTIME); + PRINT_MACRO(BOOST_HAS_CONCEPTS); PRINT_MACRO(BOOST_HAS_DIRENT_H); PRINT_MACRO(BOOST_HAS_EXPM1); PRINT_MACRO(BOOST_HAS_FTIME); @@ -916,10 +917,12 @@ void print_boost_macros() PRINT_MACRO(BOOST_HAS_PTHREAD_DELAY_NP); PRINT_MACRO(BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE); PRINT_MACRO(BOOST_HAS_PTHREAD_YIELD); + PRINT_MACRO(BOOST_HAS_RVALUE_REFS); PRINT_MACRO(BOOST_HAS_SCHED_YIELD); PRINT_MACRO(BOOST_HAS_SGI_TYPE_TRAITS); PRINT_MACRO(BOOST_HAS_SIGACTION); PRINT_MACRO(BOOST_HAS_SLIST); + PRINT_MACRO(BOOST_HAS_STATIC_ASSERT); PRINT_MACRO(BOOST_HAS_STDINT_H); PRINT_MACRO(BOOST_HAS_STLP_USE_FACET); PRINT_MACRO(BOOST_HAS_TR1_ARRAY); @@ -941,6 +944,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_HAS_TR1_UTILITY); PRINT_MACRO(BOOST_HAS_TWO_ARG_USE_FACET); PRINT_MACRO(BOOST_HAS_UNISTD_H); + PRINT_MACRO(BOOST_HAS_VARIADIC_TMPL); PRINT_MACRO(BOOST_HAS_WINTHREADS); PRINT_MACRO(BOOST_MSVC6_MEMBER_TEMPLATES); PRINT_MACRO(BOOST_MSVC_STD_ITERATOR); @@ -962,6 +966,8 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_INCLASS_MEMBER_INITIALIZATION); PRINT_MACRO(BOOST_NO_INTEGRAL_INT64_T); PRINT_MACRO(BOOST_NO_INTRINSIC_WCHAR_T); + PRINT_MACRO(BOOST_NO_IOSFWD); + PRINT_MACRO(BOOST_NO_IOSTREAM); PRINT_MACRO(BOOST_NO_IS_ABSTRACT); PRINT_MACRO(BOOST_NO_LIMITS); PRINT_MACRO(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS); @@ -985,6 +991,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_STD_MESSAGES); PRINT_MACRO(BOOST_NO_STD_MIN_MAX); PRINT_MACRO(BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN); + PRINT_MACRO(BOOST_NO_STD_TYPEINFO); PRINT_MACRO(BOOST_NO_STD_USE_FACET); PRINT_MACRO(BOOST_NO_STD_WSTREAMBUF); PRINT_MACRO(BOOST_NO_STD_WSTRING); @@ -994,6 +1001,7 @@ void print_boost_macros() PRINT_MACRO(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION); PRINT_MACRO(BOOST_NO_TEMPLATE_TEMPLATES); PRINT_MACRO(BOOST_NO_TWO_PHASE_NAME_LOOKUP); + PRINT_MACRO(BOOST_NO_TYPEID); PRINT_MACRO(BOOST_NO_UNREACHABLE_RETURN_DETECTION); PRINT_MACRO(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE); PRINT_MACRO(BOOST_NO_USING_TEMPLATE); @@ -1003,6 +1011,7 @@ void print_boost_macros() + // END GENERATED BLOCK PRINT_MACRO(BOOST_INTEL); diff --git a/test/config_test.cpp b/test/config_test.cpp index 78a477c5..4bc2c589 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -1,4 +1,4 @@ -// This file was automatically generated on Mon Jan 01 12:39:24 2007 +// This file was automatically generated on Sat Aug 25 12:32:22 2007 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the @@ -119,6 +119,16 @@ namespace boost_no_inclass_member_initialization = empty_boost; #else namespace boost_no_integral_int64_t = empty_boost; #endif +#ifndef BOOST_NO_IOSFWD +#include "boost_no_iosfwd.ipp" +#else +namespace boost_no_iosfwd = empty_boost; +#endif +#ifndef BOOST_NO_IOSTREAM +#include "boost_no_iostream.ipp" +#else +namespace boost_no_iostream = empty_boost; +#endif #ifndef BOOST_NO_IS_ABSTRACT #include "boost_no_is_abstract.ipp" #else @@ -249,6 +259,11 @@ namespace boost_no_std_min_max = empty_boost; #else namespace boost_no_std_output_iterator_assign = empty_boost; #endif +#ifndef BOOST_NO_STD_TYPEINFO +#include "boost_no_std_typeinfo.ipp" +#else +namespace boost_no_std_typeinfo = empty_boost; +#endif #ifndef BOOST_NO_STD_USE_FACET #include "boost_no_std_use_facet.ipp" #else @@ -279,6 +294,11 @@ namespace boost_no_template_templates = empty_boost; #else namespace boost_no_two_phase_name_lookup = empty_boost; #endif +#ifndef BOOST_NO_TYPEID +#include "boost_no_typeid.ipp" +#else +namespace boost_no_typeid = empty_boost; +#endif #ifndef BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL #include "boost_no_using_breaks_adl.ipp" #else @@ -320,6 +340,11 @@ namespace boost_has_bethreads = empty_boost; #else namespace boost_has_clock_gettime = empty_boost; #endif +#ifdef BOOST_HAS_CONCEPTS +#include "boost_has_concepts.ipp" +#else +namespace boost_has_concepts = empty_boost; +#endif #ifdef BOOST_HAS_DIRENT_H #include "boost_has_dirent_h.ipp" #else @@ -405,6 +430,11 @@ namespace boost_has_pthread_mutexattr_settype = empty_boost; #else namespace boost_has_pthread_yield = empty_boost; #endif +#ifdef BOOST_HAS_RVALUE_REFS +#include "boost_has_rvalue_refs.ipp" +#else +namespace boost_has_rvalue_refs = empty_boost; +#endif #ifdef BOOST_HAS_SCHED_YIELD #include "boost_has_sched_yield.ipp" #else @@ -425,6 +455,11 @@ namespace boost_has_sigaction = empty_boost; #else namespace boost_has_slist = empty_boost; #endif +#ifdef BOOST_HAS_STATIC_ASSERT +#include "boost_has_static_assert.ipp" +#else +namespace boost_has_static_assert = empty_boost; +#endif #ifdef BOOST_HAS_STDINT_H #include "boost_has_stdint_h.ipp" #else @@ -525,6 +560,11 @@ namespace boost_has_tr1_utility = empty_boost; #else namespace boost_has_unistd_h = empty_boost; #endif +#ifdef BOOST_HAS_VARIADIC_TMPL +#include "boost_has_variadic_tmpl.ipp" +#else +namespace boost_has_variadic_tmpl = empty_boost; +#endif #ifdef BOOST_MSVC6_MEMBER_TEMPLATES #include "boost_has_vc6_mem_templ.ipp" #else @@ -558,6 +598,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_HAS_CLOCK_GETTIME at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_has_concepts::test()) + { + std::cerr << "Failed test for BOOST_HAS_CONCEPTS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_has_dirent_h::test()) { std::cerr << "Failed test for BOOST_HAS_DIRENT_H at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -643,6 +688,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_HAS_PTHREAD_YIELD at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_has_rvalue_refs::test()) + { + std::cerr << "Failed test for BOOST_HAS_RVALUE_REFS at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_has_sched_yield::test()) { std::cerr << "Failed test for BOOST_HAS_SCHED_YIELD at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -663,6 +713,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_HAS_SLIST at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_has_static_assert::test()) + { + std::cerr << "Failed test for BOOST_HAS_STATIC_ASSERT at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_has_stdint_h::test()) { std::cerr << "Failed test for BOOST_HAS_STDINT_H at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -763,6 +818,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_HAS_UNISTD_H at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_has_variadic_tmpl::test()) + { + std::cerr << "Failed test for BOOST_HAS_VARIADIC_TMPL at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_msvc6_member_templates::test()) { std::cerr << "Failed test for BOOST_MSVC6_MEMBER_TEMPLATES at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -878,6 +938,16 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_INTEGRAL_INT64_T at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_iosfwd::test()) + { + std::cerr << "Failed test for BOOST_NO_IOSFWD at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } + if(0 != boost_no_iostream::test()) + { + std::cerr << "Failed test for BOOST_NO_IOSTREAM at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_is_abstract::test()) { std::cerr << "Failed test for BOOST_NO_IS_ABSTRACT at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1008,6 +1078,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_std_typeinfo::test()) + { + std::cerr << "Failed test for BOOST_NO_STD_TYPEINFO at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_no_std_use_facet::test()) { std::cerr << "Failed test for BOOST_NO_STD_USE_FACET at: " << __FILE__ << ":" << __LINE__ << std::endl; @@ -1038,6 +1113,11 @@ int main( int, char *[] ) std::cerr << "Failed test for BOOST_NO_TWO_PHASE_NAME_LOOKUP at: " << __FILE__ << ":" << __LINE__ << std::endl; ++error_count; } + if(0 != boost_no_typeid::test()) + { + std::cerr << "Failed test for BOOST_NO_TYPEID at: " << __FILE__ << ":" << __LINE__ << std::endl; + ++error_count; + } if(0 != boost_function_scope_using_declaration_breaks_adl::test()) { std::cerr << "Failed test for BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL at: " << __FILE__ << ":" << __LINE__ << std::endl; diff --git a/test/has_concepts_fail.cpp b/test/has_concepts_fail.cpp new file mode 100644 index 00000000..d864f8f4 --- /dev/null +++ b/test/has_concepts_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:20 2007 +// 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. + +// Test file for macro BOOST_HAS_CONCEPTS +// This file should not compile, if it does then +// BOOST_HAS_CONCEPTS should be defined. +// See file boost_has_concepts.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_HAS_CONCEPTS +#include "boost_has_concepts.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_has_concepts::test(); +} + diff --git a/test/has_concepts_pass.cpp b/test/has_concepts_pass.cpp new file mode 100644 index 00000000..1883693d --- /dev/null +++ b/test/has_concepts_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:20 2007 +// 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. + +// Test file for macro BOOST_HAS_CONCEPTS +// This file should compile, if it does not then +// BOOST_HAS_CONCEPTS should not be defined. +// See file boost_has_concepts.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_HAS_CONCEPTS +#include "boost_has_concepts.ipp" +#else +namespace boost_has_concepts = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_has_concepts::test(); +} + diff --git a/test/has_rvalue_refs_fail.cpp b/test/has_rvalue_refs_fail.cpp new file mode 100644 index 00000000..cf880e96 --- /dev/null +++ b/test/has_rvalue_refs_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_RVALUE_REFS +// This file should not compile, if it does then +// BOOST_HAS_RVALUE_REFS should be defined. +// See file boost_has_rvalue_refs.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_HAS_RVALUE_REFS +#include "boost_has_rvalue_refs.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_has_rvalue_refs::test(); +} + diff --git a/test/has_rvalue_refs_pass.cpp b/test/has_rvalue_refs_pass.cpp new file mode 100644 index 00000000..61692494 --- /dev/null +++ b/test/has_rvalue_refs_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_RVALUE_REFS +// This file should compile, if it does not then +// BOOST_HAS_RVALUE_REFS should not be defined. +// See file boost_has_rvalue_refs.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_HAS_RVALUE_REFS +#include "boost_has_rvalue_refs.ipp" +#else +namespace boost_has_rvalue_refs = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_has_rvalue_refs::test(); +} + diff --git a/test/has_static_assert_fail.cpp b/test/has_static_assert_fail.cpp new file mode 100644 index 00000000..a6456edb --- /dev/null +++ b/test/has_static_assert_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_STATIC_ASSERT +// This file should not compile, if it does then +// BOOST_HAS_STATIC_ASSERT should be defined. +// See file boost_has_static_assert.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_HAS_STATIC_ASSERT +#include "boost_has_static_assert.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_has_static_assert::test(); +} + diff --git a/test/has_static_assert_pass.cpp b/test/has_static_assert_pass.cpp new file mode 100644 index 00000000..00f03897 --- /dev/null +++ b/test/has_static_assert_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_STATIC_ASSERT +// This file should compile, if it does not then +// BOOST_HAS_STATIC_ASSERT should not be defined. +// See file boost_has_static_assert.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_HAS_STATIC_ASSERT +#include "boost_has_static_assert.ipp" +#else +namespace boost_has_static_assert = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_has_static_assert::test(); +} + diff --git a/test/has_variadic_tmpl_fail.cpp b/test/has_variadic_tmpl_fail.cpp new file mode 100644 index 00000000..17baab78 --- /dev/null +++ b/test/has_variadic_tmpl_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_VARIADIC_TMPL +// This file should not compile, if it does then +// BOOST_HAS_VARIADIC_TMPL should be defined. +// See file boost_has_variadic_tmpl.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_HAS_VARIADIC_TMPL +#include "boost_has_variadic_tmpl.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_has_variadic_tmpl::test(); +} + diff --git a/test/has_variadic_tmpl_pass.cpp b/test/has_variadic_tmpl_pass.cpp new file mode 100644 index 00000000..8b65b8d2 --- /dev/null +++ b/test/has_variadic_tmpl_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_HAS_VARIADIC_TMPL +// This file should compile, if it does not then +// BOOST_HAS_VARIADIC_TMPL should not be defined. +// See file boost_has_variadic_tmpl.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_HAS_VARIADIC_TMPL +#include "boost_has_variadic_tmpl.ipp" +#else +namespace boost_has_variadic_tmpl = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_has_variadic_tmpl::test(); +} + diff --git a/test/no_iosfwd_fail.cpp b/test/no_iosfwd_fail.cpp new file mode 100644 index 00000000..a1c6d918 --- /dev/null +++ b/test/no_iosfwd_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_NO_IOSFWD +// This file should not compile, if it does then +// BOOST_NO_IOSFWD should not be defined. +// See file boost_no_iosfwd.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_IOSFWD +#include "boost_no_iosfwd.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_iosfwd::test(); +} + diff --git a/test/no_iosfwd_pass.cpp b/test/no_iosfwd_pass.cpp new file mode 100644 index 00000000..6e631d90 --- /dev/null +++ b/test/no_iosfwd_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_NO_IOSFWD +// This file should compile, if it does not then +// BOOST_NO_IOSFWD should be defined. +// See file boost_no_iosfwd.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_IOSFWD +#include "boost_no_iosfwd.ipp" +#else +namespace boost_no_iosfwd = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_iosfwd::test(); +} + diff --git a/test/no_iostream_fail.cpp b/test/no_iostream_fail.cpp new file mode 100644 index 00000000..67a84595 --- /dev/null +++ b/test/no_iostream_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_NO_IOSTREAM +// This file should not compile, if it does then +// BOOST_NO_IOSTREAM should not be defined. +// See file boost_no_iostream.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_IOSTREAM +#include "boost_no_iostream.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_iostream::test(); +} + diff --git a/test/no_iostream_pass.cpp b/test/no_iostream_pass.cpp new file mode 100644 index 00000000..ba1d0ac3 --- /dev/null +++ b/test/no_iostream_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:21 2007 +// 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. + +// Test file for macro BOOST_NO_IOSTREAM +// This file should compile, if it does not then +// BOOST_NO_IOSTREAM should be defined. +// See file boost_no_iostream.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_IOSTREAM +#include "boost_no_iostream.ipp" +#else +namespace boost_no_iostream = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_iostream::test(); +} + diff --git a/test/no_std_typeinfo_fail.cpp b/test/no_std_typeinfo_fail.cpp new file mode 100644 index 00000000..7bb145f0 --- /dev/null +++ b/test/no_std_typeinfo_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:22 2007 +// 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. + +// Test file for macro BOOST_NO_STD_TYPEINFO +// This file should not compile, if it does then +// BOOST_NO_STD_TYPEINFO should not be defined. +// See file boost_no_std_typeinfo.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_STD_TYPEINFO +#include "boost_no_std_typeinfo.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_std_typeinfo::test(); +} + diff --git a/test/no_std_typeinfo_pass.cpp b/test/no_std_typeinfo_pass.cpp new file mode 100644 index 00000000..0bfd031a --- /dev/null +++ b/test/no_std_typeinfo_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:22 2007 +// 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. + +// Test file for macro BOOST_NO_STD_TYPEINFO +// This file should compile, if it does not then +// BOOST_NO_STD_TYPEINFO should be defined. +// See file boost_no_std_typeinfo.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_STD_TYPEINFO +#include "boost_no_std_typeinfo.ipp" +#else +namespace boost_no_std_typeinfo = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_std_typeinfo::test(); +} + diff --git a/test/no_typeid_fail.cpp b/test/no_typeid_fail.cpp new file mode 100644 index 00000000..7c3e4b23 --- /dev/null +++ b/test/no_typeid_fail.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:22 2007 +// 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. + +// Test file for macro BOOST_NO_TYPEID +// This file should not compile, if it does then +// BOOST_NO_TYPEID should not be defined. +// See file boost_no_typeid.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_TYPEID +#include "boost_no_typeid.ipp" +#else +#error "this file should not compile" +#endif + +int main( int, char *[] ) +{ + return boost_no_typeid::test(); +} + diff --git a/test/no_typeid_pass.cpp b/test/no_typeid_pass.cpp new file mode 100644 index 00000000..80582ef3 --- /dev/null +++ b/test/no_typeid_pass.cpp @@ -0,0 +1,34 @@ +// This file was automatically generated on Sat Aug 25 12:32:22 2007 +// 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. + +// Test file for macro BOOST_NO_TYPEID +// This file should compile, if it does not then +// BOOST_NO_TYPEID should be defined. +// See file boost_no_typeid.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_TYPEID +#include "boost_no_typeid.ipp" +#else +namespace boost_no_typeid = empty_boost; +#endif + +int main( int, char *[] ) +{ + return boost_no_typeid::test(); +} +