mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-30 04:47:12 +02:00
Change license message to reference Boost Software License
[SVN r20038]
This commit is contained in:
@ -1,12 +1,9 @@
|
|||||||
// Boost scoped_ptr_example implementation file -----------------------------//
|
// Boost scoped_ptr_example implementation file -----------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include "scoped_ptr_example.hpp"
|
#include "scoped_ptr_example.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost scoped_ptr_example header file ------------------------------------//
|
// Boost scoped_ptr_example header file ------------------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include <boost/utility.hpp>
|
#include <boost/utility.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost scoped_ptr_example_test main program -------------------------------//
|
// Boost scoped_ptr_example_test main program -------------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include "scoped_ptr_example.hpp"
|
#include "scoped_ptr_example.hpp"
|
||||||
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost shared_ptr_example.cpp --------------------------------------------//
|
// Boost shared_ptr_example.cpp --------------------------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
// Revision History
|
// Revision History
|
||||||
// 21 May 01 Initial complete version (Beman Dawes)
|
// 21 May 01 Initial complete version (Beman Dawes)
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost shared_ptr_example2 implementation file -----------------------------//
|
// Boost shared_ptr_example2 implementation file -----------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include "shared_ptr_example2.hpp"
|
#include "shared_ptr_example2.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost shared_ptr_example2 header file -----------------------------------//
|
// Boost shared_ptr_example2 header file -----------------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Boost shared_ptr_example2_test main program ------------------------------//
|
// Boost shared_ptr_example2_test main program ------------------------------//
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 2001. Permission to copy,
|
// Copyright Beman Dawes 2001.
|
||||||
// use, modify, sell and distribute this software is granted provided this
|
// See accompanying license for terms and conditions of use.
|
||||||
// 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.
|
|
||||||
|
|
||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
#include "shared_ptr_example2.hpp"
|
#include "shared_ptr_example2.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
// smart pointer test program ----------------------------------------------//
|
||||||
|
|
||||||
|
// Copyright Beman Dawes 1998, 1999.
|
||||||
|
// See accompanying license for terms and conditions of use.
|
||||||
|
|
||||||
|
// See http://www.boost.org/libs/smart_ptr for documentation.
|
||||||
|
|
||||||
|
// Revision History
|
||||||
|
// 24 May 01 use Boost test library for error detection, reporting, add tests
|
||||||
|
// for operations on incomplete types (Beman Dawes)
|
||||||
|
// 29 Nov 99 added std::swap and associative container tests (Darin Adler)
|
||||||
|
// 25 Sep 99 added swap tests
|
||||||
|
// 20 Jul 99 header name changed to .hpp
|
||||||
|
// 20 Apr 99 additional error tests added.
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(__ICL) && !defined(__COMO__)
|
#if defined(_MSC_VER) && !defined(__ICL) && !defined(__COMO__)
|
||||||
# pragma warning(disable: 4786) // identifier truncated in debug info
|
# pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
# pragma warning(disable: 4710) // function not inlined
|
# pragma warning(disable: 4710) // function not inlined
|
||||||
@ -9,21 +24,6 @@
|
|||||||
# pragma warn -8092 // template argument passed to 'find' is not an iterator
|
# pragma warn -8092 // template argument passed to 'find' is not an iterator
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// smart pointer test program ----------------------------------------------//
|
|
||||||
|
|
||||||
// (C) Copyright Beman Dawes 1998, 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.
|
|
||||||
|
|
||||||
// Revision History
|
|
||||||
// 24 May 01 use Boost test library for error detection, reporting, add tests
|
|
||||||
// for operations on incomplete types (Beman Dawes)
|
|
||||||
// 29 Nov 99 added std::swap and associative container tests (Darin Adler)
|
|
||||||
// 25 Sep 99 added swap tests
|
|
||||||
// 20 Jul 99 header name changed to .hpp
|
|
||||||
// 20 Apr 99 additional error tests added.
|
|
||||||
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/scoped_array.hpp>
|
#include <boost/scoped_array.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
Reference in New Issue
Block a user