diff --git a/example/scoped_ptr_example.cpp b/example/scoped_ptr_example.cpp index b15356b..ea1917d 100644 --- a/example/scoped_ptr_example.cpp +++ b/example/scoped_ptr_example.cpp @@ -1,12 +1,9 @@ // Boost scoped_ptr_example implementation file -----------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// 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 diff --git a/example/scoped_ptr_example.hpp b/example/scoped_ptr_example.hpp index 14c1c6b..2747121 100644 --- a/example/scoped_ptr_example.hpp +++ b/example/scoped_ptr_example.hpp @@ -1,12 +1,9 @@ // Boost scoped_ptr_example header file ------------------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// See http://www.boost.org for most recent version including documentation. +// See http://www.boost.org/libs/smart_ptr for documentation. #include #include diff --git a/example/scoped_ptr_example_test.cpp b/example/scoped_ptr_example_test.cpp index 4037997..e880d31 100644 --- a/example/scoped_ptr_example_test.cpp +++ b/example/scoped_ptr_example_test.cpp @@ -1,12 +1,9 @@ // Boost scoped_ptr_example_test main program -------------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// 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" diff --git a/example/shared_ptr_example.cpp b/example/shared_ptr_example.cpp index 4db8fc6..04a564e 100644 --- a/example/shared_ptr_example.cpp +++ b/example/shared_ptr_example.cpp @@ -1,12 +1,9 @@ // Boost shared_ptr_example.cpp --------------------------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// See http://www.boost.org for most recent version including documentation. +// See http://www.boost.org/libs/smart_ptr for documentation. // Revision History // 21 May 01 Initial complete version (Beman Dawes) diff --git a/example/shared_ptr_example2.cpp b/example/shared_ptr_example2.cpp index cbf69ec..5f0d797 100644 --- a/example/shared_ptr_example2.cpp +++ b/example/shared_ptr_example2.cpp @@ -1,12 +1,9 @@ // Boost shared_ptr_example2 implementation file -----------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// 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 diff --git a/example/shared_ptr_example2.hpp b/example/shared_ptr_example2.hpp index bb9050e..1aa3ea8 100644 --- a/example/shared_ptr_example2.hpp +++ b/example/shared_ptr_example2.hpp @@ -1,12 +1,9 @@ // Boost shared_ptr_example2 header file -----------------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// See http://www.boost.org for most recent version including documentation. +// See http://www.boost.org/libs/smart_ptr for documentation. #include diff --git a/example/shared_ptr_example2_test.cpp b/example/shared_ptr_example2_test.cpp index a03511e..e5d4d89 100644 --- a/example/shared_ptr_example2_test.cpp +++ b/example/shared_ptr_example2_test.cpp @@ -1,12 +1,9 @@ // Boost shared_ptr_example2_test main program ------------------------------// -// (C) Copyright Beman Dawes 2001. 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. +// Copyright Beman Dawes 2001. +// See accompanying license for terms and conditions of use. -// 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" diff --git a/test/smart_ptr_test.cpp b/test/smart_ptr_test.cpp index 26924f0..28e22a1 100644 --- a/test/smart_ptr_test.cpp +++ b/test/smart_ptr_test.cpp @@ -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__) # pragma warning(disable: 4786) // identifier truncated in debug info # pragma warning(disable: 4710) // function not inlined @@ -9,21 +24,6 @@ # pragma warn -8092 // template argument passed to 'find' is not an iterator #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 #include #include