config: add cpp0x files not added after merge

[SVN r51471]
This commit is contained in:
Beman Dawes
2009-02-27 13:23:06 +00:00
parent 4d457cdf17
commit dade549b8b
30 changed files with 973 additions and 0 deletions

View File

@ -0,0 +1,21 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_CHAR16_T
// TITLE: C++0x char16_t unavailable
// DESCRIPTION: The compiler does not support C++0x char16_t
namespace boost_no_char16_t {
int test()
{
char16_t c;
return 0;
}
}

View File

@ -0,0 +1,21 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_CHAR32_T
// TITLE: C++0x char32_t unavailable
// DESCRIPTION: The compiler does not support C++0x char32_t
namespace boost_no_char32_t {
int test()
{
char32_t c;
return 0;
}
}

View File

@ -0,0 +1,22 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_DECLTYPE
// TITLE: C++0x decltype unavailable
// DESCRIPTION: The compiler does not support C++0x decltype
namespace boost_no_decltype {
int test()
{
int i;
decltype(i) j;
return 0;
}
}

View File

@ -0,0 +1,22 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_EXTERN_TEMPLATE
// TITLE: C++0x extern template unavailable
// DESCRIPTION: The compiler does not support C++0x extern template
namespace boost_no_extern_template {
extern template<class T> void f(T);
int test()
{
return 0;
}
}

View File

@ -0,0 +1,36 @@
// (C) Copyright John Maddock 2001.
// 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_LONG_LONG
// TITLE: C++0x long long unavailable
// DESCRIPTION: The platform does not support C++0x long long.
#include <cstdlib>
namespace boost_no_long_long{
int test()
{
#ifdef __GNUC__
__extension__ long long lli = 0LL;
__extension__ unsigned long long ulli = 0uLL;
#else
long long lli = 0LL;
unsigned long long ulli = 0uLL;
#endif
(void)&lli;
(void)&ulli;
return 0;
}
}

View File

@ -0,0 +1,26 @@
// Copyright (C) 2007 Douglas Gregor
// 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_RVALUE_REFERENCES
// TITLE: C++0x rvalue references unavailable
// DESCRIPTION: The compiler does not support C++0x rvalue references
namespace boost_no_rvalue_references {
void g(int&) {}
template<typename F, typename T>
void forward(F f, T&& t) { f(static_cast<T&&>(t)); }
int test()
{
int x;
forward(g, x);
return 0;
}
}

View File

@ -0,0 +1,21 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_SCOPED_ENUMS
// TITLE: C++0x scoped enum unavailable
// DESCRIPTION: The compiler does not support C++0x scoped enum
namespace boost_no_scoped_enums {
int test()
{
enum class scoped_enum { yes, no, maybe };
return 0;
}
}

View File

@ -0,0 +1,20 @@
// Copyright (C) 2007 Douglas Gregor
// 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_STATIC_ASSERT
// TITLE: C++0x static_assert unavailable
// DESCRIPTION: The compiler does not support C++0x static assertions
namespace boost_no_static_assert {
int test()
{
static_assert(true, "OK");
return 0;
}
}

View File

@ -0,0 +1,23 @@
// (C) Copyright Beman Dawes 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 more information.
// MACRO: BOOST_NO_UNICODE_LITERALS
// TITLE: C++0x unicode literals unavailable
// DESCRIPTION: The compiler does not support C++0x unicode literals
namespace boost_no_unicode_literals {
int test()
{
const char* u8 = u8"";
const char16_t* u16 = u"";
const char32_t* u32 = U"";
return 0;
}
}

View File

@ -0,0 +1,21 @@
// Copyright (C) 2007 Douglas Gregor
// 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_VARIADIC_TEMPLATES
// TITLE: C++0x variadic templates unavailable
// DESCRIPTION: The compiler does not support C++0x variadic templates
namespace boost_no_variadic_templates {
template<typename... Elements> struct tuple {};
int test()
{
return 0;
}
}

37
test/no_char16_t_fail.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_CHAR16_T
// This file should not compile, if it does then
// BOOST_NO_CHAR16_T should not be defined.
// See file boost_no_char16_t.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_CHAR16_T
#include "boost_no_char16_t.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_char16_t::test();
}

37
test/no_char16_t_pass.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_CHAR16_T
// This file should compile, if it does not then
// BOOST_NO_CHAR16_T should be defined.
// See file boost_no_char16_t.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_CHAR16_T
#include "boost_no_char16_t.ipp"
#else
namespace boost_no_char16_t = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_char16_t::test();
}

37
test/no_char32_t_fail.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_CHAR32_T
// This file should not compile, if it does then
// BOOST_NO_CHAR32_T should not be defined.
// See file boost_no_char32_t.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_CHAR32_T
#include "boost_no_char32_t.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_char32_t::test();
}

37
test/no_char32_t_pass.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_CHAR32_T
// This file should compile, if it does not then
// BOOST_NO_CHAR32_T should be defined.
// See file boost_no_char32_t.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_CHAR32_T
#include "boost_no_char32_t.ipp"
#else
namespace boost_no_char32_t = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_char32_t::test();
}

37
test/no_decltype_fail.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_DECLTYPE
// This file should not compile, if it does then
// BOOST_NO_DECLTYPE should not be defined.
// See file boost_no_decltype.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_DECLTYPE
#include "boost_no_decltype.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_decltype::test();
}

37
test/no_decltype_pass.cpp Normal file
View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_DECLTYPE
// This file should compile, if it does not then
// BOOST_NO_DECLTYPE should be defined.
// See file boost_no_decltype.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_DECLTYPE
#include "boost_no_decltype.ipp"
#else
namespace boost_no_decltype = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_decltype::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_EXTERN_TEMPLATE
// This file should not compile, if it does then
// BOOST_NO_EXTERN_TEMPLATE should not be defined.
// See file boost_no_extern_template.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_EXTERN_TEMPLATE
#include "boost_no_extern_template.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_extern_template::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_EXTERN_TEMPLATE
// This file should compile, if it does not then
// BOOST_NO_EXTERN_TEMPLATE should be defined.
// See file boost_no_extern_template.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_EXTERN_TEMPLATE
#include "boost_no_extern_template.ipp"
#else
namespace boost_no_extern_template = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_extern_template::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_LONG_LONG
// This file should not compile, if it does then
// BOOST_NO_LONG_LONG should not be defined.
// See file boost_no_long_long.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_LONG_LONG
#include "boost_no_long_long.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_long_long::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_LONG_LONG
// This file should compile, if it does not then
// BOOST_NO_LONG_LONG should be defined.
// See file boost_no_long_long.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_LONG_LONG
#include "boost_no_long_long.ipp"
#else
namespace boost_no_long_long = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_long_long::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_RVALUE_REFERENCES
// This file should not compile, if it does then
// BOOST_NO_RVALUE_REFERENCES should not be defined.
// See file boost_no_rvalue_references.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_RVALUE_REFERENCES
#include "boost_no_rvalue_references.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_rvalue_references::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_RVALUE_REFERENCES
// This file should compile, if it does not then
// BOOST_NO_RVALUE_REFERENCES should be defined.
// See file boost_no_rvalue_references.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_RVALUE_REFERENCES
#include "boost_no_rvalue_references.ipp"
#else
namespace boost_no_rvalue_references = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_rvalue_references::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 08:00:48 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_SCOPED_ENUMS
// This file should not compile, if it does then
// BOOST_NO_SCOPED_ENUMS should not be defined.
// See file boost_no_scoped_enums.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_SCOPED_ENUMS
#include "boost_no_scoped_enums.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_scoped_enums::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 08:00:48 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_SCOPED_ENUMS
// This file should compile, if it does not then
// BOOST_NO_SCOPED_ENUMS should be defined.
// See file boost_no_scoped_enums.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_SCOPED_ENUMS
#include "boost_no_scoped_enums.ipp"
#else
namespace boost_no_scoped_enums = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_scoped_enums::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_STATIC_ASSERT
// This file should not compile, if it does then
// BOOST_NO_STATIC_ASSERT should not be defined.
// See file boost_no_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 <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_STATIC_ASSERT
#include "boost_no_static_assert.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_static_assert::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_STATIC_ASSERT
// This file should compile, if it does not then
// BOOST_NO_STATIC_ASSERT should be defined.
// See file boost_no_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 <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_STATIC_ASSERT
#include "boost_no_static_assert.ipp"
#else
namespace boost_no_static_assert = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_static_assert::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_UNICODE_LITERALS
// This file should not compile, if it does then
// BOOST_NO_UNICODE_LITERALS should not be defined.
// See file boost_no_unicode_literals.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_UNICODE_LITERALS
#include "boost_no_unicode_literals.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_unicode_literals::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 09:24:04 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_UNICODE_LITERALS
// This file should compile, if it does not then
// BOOST_NO_UNICODE_LITERALS should be defined.
// See file boost_no_unicode_literals.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_UNICODE_LITERALS
#include "boost_no_unicode_literals.ipp"
#else
namespace boost_no_unicode_literals = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_unicode_literals::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_VARIADIC_TEMPLATES
// This file should not compile, if it does then
// BOOST_NO_VARIADIC_TEMPLATES should not be defined.
// See file boost_no_variadic_templates.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifdef BOOST_NO_VARIADIC_TEMPLATES
#include "boost_no_variadic_templates.ipp"
#else
#error "this file should not compile"
#endif
int main( int, char *[] )
{
return boost_no_variadic_templates::test();
}

View File

@ -0,0 +1,37 @@
// This file was automatically generated on Thu May 29 07:24:54 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_VARIADIC_TEMPLATES
// This file should compile, if it does not then
// BOOST_NO_VARIADIC_TEMPLATES should be defined.
// See file boost_no_variadic_templates.ipp for details
// Must not have BOOST_ASSERT_CONFIG set; it defeats
// the objective of this file:
#ifdef BOOST_ASSERT_CONFIG
# undef BOOST_ASSERT_CONFIG
#endif
#include <boost/config.hpp>
#include "test.hpp"
#ifndef BOOST_NO_VARIADIC_TEMPLATES
#include "boost_no_variadic_templates.ipp"
#else
namespace boost_no_variadic_templates = empty_boost;
#endif
int main( int, char *[] )
{
return boost_no_variadic_templates::test();
}