diff --git a/compatibility.htm b/compatibility.htm index 6d7af92..71662ce 100644 --- a/compatibility.htm +++ b/compatibility.htm @@ -1,105 +1,89 @@ - - - - -Smart Pointer Changes - - - - -

boost.png (6897 bytes)Smart -Pointer Changes

- -

The February 2002 change to the Boost smart pointers introduced a number -of changes. Since the previous version of the smart pointers was in use for -a long time, it's useful to have a detailed list of what changed from a library -user's point of view.

- -

Note that for compilers that don't support member templates well enough, -a separate implementation is used that lacks many of the new features and is -more like the old version.

- -

Features Requiring Code Changes to Take Advantage

- - - -

Features That Improve Robustness

- - - -

Implementation Details

- - - -
- -

Revised 1 February 2002

- -

Copyright 2002 Darin Adler. -Permission to copy, use, -modify, sell and distribute this document is granted provided this copyright -notice appears in all copies. This document is provided "as is" -without express or implied warranty, and with no claim as to its suitability for -any purpose.

- - - + + Smart Pointer Changes + + + +

boost.png (6897 bytes)Smart Pointer Changes

+

The February 2002 change to the Boost smart pointers introduced a number of + changes. Since the previous version of the smart pointers was in use for a long + time, it's useful to have a detailed list of what changed from a library user's + point of view.

+

Note that for compilers that don't support member templates well enough, a + separate implementation is used that lacks many of the new features and is more + like the old version.

+

Features Requiring Code Changes to Take Advantage

+ +

Features That Improve Robustness

+ +

Implementation Details

+ +
+

Revised 1 February 2002

+

Copyright 2002 Darin Adler. Permission to copy, use, modify, sell and distribute + this document is granted provided this copyright notice appears in all copies. + This document is provided "as is" without express or implied warranty, and with + no claim as to its suitability for any purpose.

+ diff --git a/enable_shared_from_this.html b/enable_shared_from_this.html index 8d6a6e3..166870f 100644 --- a/enable_shared_from_this.html +++ b/enable_shared_from_this.html @@ -7,10 +7,9 @@ - - diff --git a/intrusive_ptr.html b/intrusive_ptr.html index 8844491..5d8aa48 100644 --- a/intrusive_ptr.html +++ b/intrusive_ptr.html @@ -5,7 +5,7 @@ -

boost.png (6897 bytes)boost.png (6897 bytes)intrusive_ptr class template

Introduction
diff --git a/shared_ptr.htm b/shared_ptr.htm index 26fd78e..0cc77d2 100644 --- a/shared_ptr.htm +++ b/shared_ptr.htm @@ -5,8 +5,8 @@ -

boost.png (6897 bytes)shared_ptr - class template

+

boost.png (6897 bytes)shared_ptr class template

Introduction
Best Practices
Synopsis
@@ -621,7 +621,7 @@ p3.reset(new int(2)); // undefined, multiple writes day a highly configurable smart pointer may be invented that is also very easy to use and very hard to misuse. Until then, shared_ptr is the smart pointer of choice for a wide range of applications. (Those interested in policy - based smart pointers should read + based smart pointers should read Modern C++ Design by Andrei Alexandrescu.)

Q. I am not convinced. Default parameters can be used where appropriate diff --git a/smart_ptr.htm b/smart_ptr.htm index 2ff8dd2..14f456b 100644 --- a/smart_ptr.htm +++ b/smart_ptr.htm @@ -5,8 +5,8 @@ -

boost.png (6897 bytes)Smart - Pointers

+

boost.png (6897 bytes)Smart Pointers

Introduction
Common Requirements
Exception Safety
diff --git a/sp_techniques.html b/sp_techniques.html index 816047f..d41be4b 100644 --- a/sp_techniques.html +++ b/sp_techniques.html @@ -5,8 +5,8 @@ -

boost.png (6897 bytes)Smart - Pointer Programming Techniques

+

boost.png (6897 bytes)Smart Pointer Programming Techniques

Using incomplete classes for implementation hiding
The "Pimpl" idiom
Using abstract classes for implementation hiding
diff --git a/weak_ptr.htm b/weak_ptr.htm index e214d4a..68dc980 100644 --- a/weak_ptr.htm +++ b/weak_ptr.htm @@ -5,8 +5,8 @@ -

boost.png (6897 bytes)weak_ptr - class template

+

boost.png (6897 bytes)weak_ptr class template

Introduction
Synopsis
Members

- boost.png (6897 bytes) + boost.png (6897 bytes) +

enable_shared_from_this.hpp