diff --git a/include/boost/scoped_array.hpp b/include/boost/scoped_array.hpp
index c4fa3d0..6734c5e 100644
--- a/include/boost/scoped_array.hpp
+++ b/include/boost/scoped_array.hpp
@@ -27,7 +27,7 @@ template
The operator< overload is provided to define an ordering so that shared_array objects can be used in associative containers such as std::map. -The implementation uses std::less<T*> to perform the +The implementation uses std::less<T *> to perform the comparison. This ensures that the comparison is handled correctly, since the standard mandates that relational operations on pointers are unspecified (5.9 [expr.rel] -paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] +paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] paragraph 8).
The operator< overload is provided to define an ordering so that shared_ptr objects can be used in associative containers such as std::map. -The implementation uses std::less<T*> to perform the +The implementation uses std::less<T *> to perform the comparison. This ensures that the comparison is handled correctly, since the standard mandates that relational operations on pointers are unspecified (5.9 [expr.rel] -paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] +paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] paragraph 8).
Revised 04 February 20024 February 2002
Copyright 1999 Greg Colvin and Beman Dawes. Copyright 2002 Darin Adler. diff --git a/weak_ptr.htm b/weak_ptr.htm index 10a0c2c..a28232b 100644 --- a/weak_ptr.htm +++ b/weak_ptr.htm @@ -178,10 +178,10 @@ See the smart pointer common requirements.
The operator< overload is provided to define an ordering so that weak_ptr objects can be used in associative containers such as std::map. -The implementation uses std::less<T*> to perform the +The implementation uses std::less<T *> to perform the comparison. This ensures that the comparison is handled correctly, since the standard mandates that relational operations on pointers are unspecified (5.9 [expr.rel] -paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] +paragraph 2) but std::less<> on pointers is well-defined (20.3.3 [lib.comparisons] paragraph 8).