diff --git a/utility.htm b/utility.htm index 8c624d5..8aa7a2c 100644 --- a/utility.htm +++ b/utility.htm @@ -17,9 +17,9 @@ Function templates checked_delete() and checked_array_delete()
Certain data types, such as the C++ Standard Library's forward and bidirectional iterators, do not provide addition and subtraction via operator+() or operator-(). This means that non-modifying computation of the next or @@ -51,7 +51,7 @@ T prior(T x) { return --x; } const std::list<T>::iterator prev = boost::prior(p);
Contributed by Dave Abrahams.
-Class noncopyable is a base class. Derive your own class from noncopyable when you want to prohibit copy construction and copy assignment.
@@ -90,8 +90,7 @@ class ResourceLadenFileSystem : boost::noncopyable {Function addressof() returns the address of an object.
--template <typename T> inline T* addressof(T& v); +template <typename T> inline T* addressof(T& v); template <typename T> inline const T* addressof(const T& v); template <typename T> inline volatile T* addressof(volatile T& v); template <typename T> inline const volatile T* addressof(const volatile T& v); @@ -127,8 +126,7 @@ void f() {
Revised - 10 September, 200109 January, 2003
© Copyright boost.org 1999-2002. Permission to copy, use, modify, sell and distribute @@ -136,4 +134,4 @@ void f() { This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.