no_cxx11_hdr_tuple_pass.cpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // This file was automatically generated on Fri May 15 11:57:42 2009
  2. // by libs/config/tools/generate.cpp
  3. // Copyright John Maddock 2002-4.
  4. // Use, modification and distribution are subject to the
  5. // Boost Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org/libs/config for the most recent version.//
  8. // Revision $Id$
  9. //
  10. // Test file for macro BOOST_NO_CXX11_HDR_TUPLE
  11. // This file should compile, if it does not then
  12. // BOOST_NO_CXX11_HDR_TUPLE should be defined.
  13. // See file boost_no_cxx11_hdr_tuple.ipp for details
  14. // Must not have BOOST_ASSERT_CONFIG set; it defeats
  15. // the objective of this file:
  16. #ifdef BOOST_ASSERT_CONFIG
  17. # undef BOOST_ASSERT_CONFIG
  18. #endif
  19. #include <boost/config.hpp>
  20. #include "test.hpp"
  21. #ifndef BOOST_NO_CXX11_HDR_TUPLE
  22. #include "boost_no_cxx11_hdr_tuple.ipp"
  23. #else
  24. namespace boost_no_cxx11_hdr_tuple = empty_boost;
  25. #endif
  26. int main( int, char *[] )
  27. {
  28. return boost_no_cxx11_hdr_tuple::test();
  29. }