2001-09-18 11:13:39 +00:00
|
|
|
|
|
|
|
// (C) Copyright Boost.org 1999. Permission to copy, use, modify, sell and
|
|
|
|
// distribute this software is granted provided this copyright notice appears
|
|
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
|
|
|
|
// Test file for macro BOOST_NO_AUTO_PTR
|
|
|
|
// This file should compile, if it does not then
|
|
|
|
// BOOST_NO_AUTO_PTR needs to be defined.
|
|
|
|
// see boost_no_auto_ptr.cxx for more details
|
|
|
|
|
|
|
|
// Do not edit this file, it was generated automatically by
|
|
|
|
// ../tools/generate from boost_no_auto_ptr.cxx on
|
2002-09-13 11:44:40 +00:00
|
|
|
// Thu Sep 12 12:24:12 2002
|
2001-09-18 11:13:39 +00:00
|
|
|
|
|
|
|
// 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_AUTO_PTR
|
|
|
|
#include "boost_no_auto_ptr.cxx"
|
|
|
|
#else
|
|
|
|
namespace boost_no_auto_ptr = empty_boost;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int cpp_main( int, char *[] )
|
|
|
|
{
|
2002-01-17 12:46:26 +00:00
|
|
|
return boost_no_auto_ptr::test();
|
|
|
|
}
|
|
|
|
|