Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60694 - in branches/release: boost/type_traits libs/type_traits/doc libs/type_traits/doc/html libs/type_traits/doc/html/boost_typetraits libs/type_traits/doc/html/boost_typetraits/category libs/type_traits/doc/html/boost_typetraits/reference
From: john_at_[hidden]
Date: 2010-03-18 12:57:46


Author: johnmaddock
Date: 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
New Revision: 60694
URL: http://svn.boost.org/trac/boost/changeset/60694

Log:
Merge minor fixes from Trunk.
Text files modified:
   branches/release/boost/type_traits/is_empty.hpp | 10 ++++++++++
   branches/release/libs/type_traits/doc/extent.qbk | 11 +++++++++--
   branches/release/libs/type_traits/doc/html/boost_typetraits/background.html | 22 +++++++++++-----------
   branches/release/libs/type_traits/doc/html/boost_typetraits/category/transform.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/history.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/intrinsics.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/decay.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/extent.html | 37 ++++++++++++++++++++++++++++++++++---
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html | 4 ++--
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/promote.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/rank.html | 15 +++++++++++++--
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html | 6 ++++--
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html | 2 +-
   branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html | 2 +-
   branches/release/libs/type_traits/doc/html/index.html | 4 ++--
   branches/release/libs/type_traits/doc/rank.qbk | 5 ++++-
   branches/release/libs/type_traits/doc/remove_pointer.qbk | 3 ++-
   30 files changed, 111 insertions(+), 46 deletions(-)

Modified: branches/release/boost/type_traits/is_empty.hpp
==============================================================================
--- branches/release/boost/type_traits/is_empty.hpp (original)
+++ branches/release/boost/type_traits/is_empty.hpp 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -36,6 +36,12 @@
 namespace detail {
 
 #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
+
+#ifdef BOOST_MSVC
+#pragma warning(push)
+#pragma warning(disable:4624) // destructor could not be generated
+#endif
+
 template <typename T>
 struct empty_helper_t1 : public T
 {
@@ -47,6 +53,10 @@
    empty_helper_t1& operator=(const empty_helper_t1&);
 };
 
+#ifdef BOOST_MSVC
+#pragma warning(pop)
+#endif
+
 struct empty_helper_t2 { int i[256]; };
 
 #if !BOOST_WORKAROUND(__BORLANDC__, < 0x600)

Modified: branches/release/libs/type_traits/doc/extent.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/extent.qbk (original)
+++ branches/release/libs/type_traits/doc/extent.qbk 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -10,9 +10,9 @@
    struct extent : public __integral_constant<std::size_t, EXTENT(T,N)> {};
   
 __inherit Class template extent inherits from `__integral_constant<std::size_t, EXTENT(T,N)>`,
-where `EXTENT(T,N)` is the number of elements in the N'th array dimention of type `T`.
+where `EXTENT(T,N)` is the number of elements in the N'th array dimension of type `T`.
 
-If `T` is not an array type, or if `N > __rank<T>::value`, or if the N'th array bound
+If `T` is not a (built-in) array type, or if `N > __rank<T>::value`, or if the N'th array bound
 is incomplete, then `EXTENT(T,N)` is zero.
 
 __header ` #include <boost/type_traits/extent.hpp>` or ` #include <boost/type_traits.hpp>`
@@ -21,8 +21,12 @@
 
 [:`extent<int[1]>` inherits from `__integral_constant<std::size_t, 1>`.]
 
+[:`extent<double[2][3][4], 0>::type` is the type `__integral_constant<std::size_t, 2>`.]
+
 [:`extent<double[2][3][4], 1>::type` is the type `__integral_constant<std::size_t, 3>`.]
 
+[:`extent<double[2][3][4], 3>::type` is the type `__integral_constant<std::size_t, 4>`.]
+
 [:`extent<int[4]>::value` is an integral constant
 expression that evaluates to /4/.]
 
@@ -35,6 +39,9 @@
 [:`extent<int*>::value` is an integral constant
 expression that evaluates to /0/.]
 
+[:`extent<boost::array<int, 3> >::value` is an integral constant
+expression that evaluates to /0/: `boost::array` is a class type and [*not an array type]!]
+
 [:`extent<T>::value_type` is the type `std::size_t`.]
 
 [endsect]

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/background.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/background.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/background.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -56,7 +56,7 @@
       method available to them.
     </p>
 <a name="boost_typetraits.background.type_traits"></a><h5>
-<a name="id751921"></a>
+<a name="id769755"></a>
       <a class="link" href="background.html#boost_typetraits.background.type_traits">Type Traits</a>
     </h5>
 <p>
@@ -84,7 +84,7 @@
       given.
     </p>
 <a name="boost_typetraits.background.implementation"></a><h5>
-<a name="id751984"></a>
+<a name="id769818"></a>
       <a class="link" href="background.html#boost_typetraits.background.implementation">Implementation</a>
     </h5>
 <p>
@@ -174,7 +174,7 @@
       in the default template.
     </p>
 <a name="boost_typetraits.background.optimized_copy"></a><h5>
-<a name="id760436"></a>
+<a name="id778597"></a>
       <a class="link" href="background.html#boost_typetraits.background.optimized_copy">Optimized copy</a>
     </h5>
 <p>
@@ -247,7 +247,7 @@
       otherwise it will call the "slow but safe version".
     </p>
 <a name="boost_typetraits.background.was_it_worth_it_"></a><h5>
-<a name="id760782"></a>
+<a name="id778944"></a>
       <a class="link" href="background.html#boost_typetraits.background.was_it_worth_it_">Was it worth it?</a>
     </h5>
 <p>
@@ -280,7 +280,7 @@
       </li>
 </ul></div>
 <div class="table">
-<a name="id760820"></a><p class="title"><b>Table&#160;1.1.&#160;Time taken to copy 1000 elements using `copy&lt;const
+<a name="id778981"></a><p class="title"><b>Table&#160;1.1.&#160;Time taken to copy 1000 elements using `copy&lt;const
     T*, T*&gt;` (times in micro-seconds)</b></p>
 <div class="table-contents"><table class="table" summary="Time taken to copy 1000 elements using `copy&lt;const
     T*, T*&gt;` (times in micro-seconds)">
@@ -379,7 +379,7 @@
 </table></div>
 </div>
 <br class="table-break"><a name="boost_typetraits.background.pair_of_references"></a><h5>
-<a name="id760958"></a>
+<a name="id779119"></a>
       <a class="link" href="background.html#boost_typetraits.background.pair_of_references">Pair of References</a>
     </h5>
 <p>
@@ -416,7 +416,7 @@
       to hold non-reference types, references, and constant references:
     </p>
 <div class="table">
-<a name="id761219"></a><p class="title"><b>Table&#160;1.2.&#160;Required Constructor Argument Types</b></p>
+<a name="id779380"></a><p class="title"><b>Table&#160;1.2.&#160;Required Constructor Argument Types</b></p>
 <div class="table-contents"><table class="table" summary="Required Constructor Argument Types">
 <colgroup>
 <col>
@@ -481,7 +481,7 @@
       adds a reference to its type, unless it is already a reference.
     </p>
 <div class="table">
-<a name="id761322"></a><p class="title"><b>Table&#160;1.3.&#160;Using add_reference to synthesize the correct constructor
+<a name="id779484"></a><p class="title"><b>Table&#160;1.3.&#160;Using add_reference to synthesize the correct constructor
     type</b></p>
 <div class="table-contents"><table class="table" summary="Using add_reference to synthesize the correct constructor
     type">
@@ -598,7 +598,7 @@
       easier to maintain and easier to understand.
     </p>
 <a name="boost_typetraits.background.conclusion"></a><h5>
-<a name="id761781"></a>
+<a name="id779942"></a>
       <a class="link" href="background.html#boost_typetraits.background.conclusion">Conclusion</a>
     </h5>
 <p>
@@ -611,7 +611,7 @@
       can be optimal as well as generic.
     </p>
 <a name="boost_typetraits.background.acknowledgements"></a><h5>
-<a name="id761798"></a>
+<a name="id779959"></a>
       <a class="link" href="background.html#boost_typetraits.background.acknowledgements">Acknowledgements</a>
     </h5>
 <p>
@@ -619,7 +619,7 @@
       comments when preparing this article.
     </p>
 <a name="background.references"></a><a name="boost_typetraits.background.references"></a><h5>
-<a name="id761818"></a>
+<a name="id779979"></a>
       <a class="link" href="background.html#boost_typetraits.background.references">References</a>
     </h5>
 <div class="orderedlist"><ol type="1">

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/category/transform.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/category/transform.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/category/transform.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -91,7 +91,7 @@
 <span class="keyword">struct</span> <a class="link" href="../reference/remove_volatile.html" title="remove_volatile">remove_volatile</a><span class="special">;</span>
 </pre>
 <a name="boost_typetraits.category.transform.broken_compiler_workarounds_"></a><h5>
-<a name="id765954"></a>
+<a name="id783771"></a>
         <a class="link" href="transform.html#boost_typetraits.category.transform.broken_compiler_workarounds_">Broken
         Compiler Workarounds:</a>
       </h5>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/history.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/history.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/history.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -27,7 +27,7 @@
 <a name="boost_typetraits.history"></a><a class="link" href="history.html" title="History"> History</a>
 </h2></div></div></div>
 <a name="boost_typetraits.history.boost_1_42_0"></a><h5>
-<a name="id814476"></a>
+<a name="id832026"></a>
       <a class="link" href="history.html#boost_typetraits.history.boost_1_42_0">Boost 1.42.0</a>
     </h5>
 <div class="itemizedlist"><ul type="disc"><li>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/intrinsics.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/intrinsics.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/intrinsics.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -71,7 +71,7 @@
       of the following macros:
     </p>
 <div class="table">
-<a name="id767504"></a><p class="title"><b>Table&#160;1.4.&#160;Macros for Compiler Intrinsics</b></p>
+<a name="id785322"></a><p class="title"><b>Table&#160;1.4.&#160;Macros for Compiler Intrinsics</b></p>
 <div class="table-contents"><table class="table" summary="Macros for Compiler Intrinsics">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id773810"></a><p class="title"><b>Table&#160;1.5.&#160;Examples</b></p>
+<a name="id790399"></a><p class="title"><b>Table&#160;1.5.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -54,7 +54,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id774282"></a><p class="title"><b>Table&#160;1.6.&#160;Examples</b></p>
+<a name="id790870"></a><p class="title"><b>Table&#160;1.6.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -56,7 +56,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id774805"></a><p class="title"><b>Table&#160;1.7.&#160;Examples</b></p>
+<a name="id791394"></a><p class="title"><b>Table&#160;1.7.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id775276"></a><p class="title"><b>Table&#160;1.8.&#160;Examples</b></p>
+<a name="id793571"></a><p class="title"><b>Table&#160;1.8.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id775740"></a><p class="title"><b>Table&#160;1.9.&#160;Examples</b></p>
+<a name="id794036"></a><p class="title"><b>Table&#160;1.9.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/decay.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/decay.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/decay.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -48,7 +48,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id776993"></a><p class="title"><b>Table&#160;1.10.&#160;Examples</b></p>
+<a name="id795288"></a><p class="title"><b>Table&#160;1.10.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/extent.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/extent.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/extent.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -33,11 +33,11 @@
         <span class="bold"><strong>Inherits:</strong></span> Class template extent inherits
         from <code class="computeroutput"><a class="link" href="integral_constant.html" title="integral_constant">integral_constant</a><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="identifier">EXTENT</span><span class="special">(</span><span class="identifier">T</span><span class="special">,</span><span class="identifier">N</span><span class="special">)&gt;</span></code>,
         where <code class="computeroutput"><span class="identifier">EXTENT</span><span class="special">(</span><span class="identifier">T</span><span class="special">,</span><span class="identifier">N</span><span class="special">)</span></code> is the number of elements in the N'th array
- dimention of type <code class="computeroutput"><span class="identifier">T</span></code>.
+ dimension of type <code class="computeroutput"><span class="identifier">T</span></code>.
       </p>
 <p>
- If <code class="computeroutput"><span class="identifier">T</span></code> is not an array type,
- or if <code class="computeroutput"><span class="identifier">N</span> <span class="special">&gt;</span>
+ If <code class="computeroutput"><span class="identifier">T</span></code> is not a (built-in)
+ array type, or if <code class="computeroutput"><span class="identifier">N</span> <span class="special">&gt;</span>
         <a class="link" href="rank.html" title="rank">rank</a><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">value</span></code>, or if the N'th array bound is incomplete,
         then <code class="computeroutput"><span class="identifier">EXTENT</span><span class="special">(</span><span class="identifier">T</span><span class="special">,</span><span class="identifier">N</span><span class="special">)</span></code> is zero.
       </p>
@@ -63,6 +63,16 @@
           </p>
 <p>
             <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">[</span><span class="number">2</span><span class="special">][</span><span class="number">3</span><span class="special">][</span><span class="number">4</span><span class="special">],</span>
+ <span class="number">0</span><span class="special">&gt;::</span><span class="identifier">type</span></code> is the type <code class="computeroutput"><a class="link" href="integral_constant.html" title="integral_constant">integral_constant</a><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="number">2</span><span class="special">&gt;</span></code>.
+ </p>
+<p>
+ </p>
+</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote">
+<p>
+ </p>
+<p>
+ <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">[</span><span class="number">2</span><span class="special">][</span><span class="number">3</span><span class="special">][</span><span class="number">4</span><span class="special">],</span>
             <span class="number">1</span><span class="special">&gt;::</span><span class="identifier">type</span></code> is the type <code class="computeroutput"><a class="link" href="integral_constant.html" title="integral_constant">integral_constant</a><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="number">3</span><span class="special">&gt;</span></code>.
           </p>
 <p>
@@ -72,6 +82,16 @@
 <p>
           </p>
 <p>
+ <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="keyword">double</span><span class="special">[</span><span class="number">2</span><span class="special">][</span><span class="number">3</span><span class="special">][</span><span class="number">4</span><span class="special">],</span>
+ <span class="number">3</span><span class="special">&gt;::</span><span class="identifier">type</span></code> is the type <code class="computeroutput"><a class="link" href="integral_constant.html" title="integral_constant">integral_constant</a><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">,</span> <span class="number">4</span><span class="special">&gt;</span></code>.
+ </p>
+<p>
+ </p>
+</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote">
+<p>
+ </p>
+<p>
             <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">[</span><span class="number">4</span><span class="special">]&gt;::</span><span class="identifier">value</span></code>
             is an integral constant expression that evaluates to <span class="emphasis"><em>4</em></span>.
           </p>
@@ -112,6 +132,17 @@
 <p>
           </p>
 <p>
+ <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">value</span></code>
+ is an integral constant expression that evaluates to <span class="emphasis"><em>0</em></span>:
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span></code> is a class type and <span class="bold"><strong>not an array type</strong></span>!
+ </p>
+<p>
+ </p>
+</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote">
+<p>
+ </p>
+<p>
             <code class="computeroutput"><span class="identifier">extent</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">value_type</span></code> is the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span></code>.
           </p>
 <p>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -49,7 +49,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id778572"></a><p class="title"><b>Table&#160;1.11.&#160;Examples</b></p>
+<a name="id797142"></a><p class="title"><b>Table&#160;1.11.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -59,7 +59,7 @@
         </p></td></tr>
 </table></div>
 <div class="table">
-<a name="id778934"></a><p class="title"><b>Table&#160;1.12.&#160;Function Traits Members</b></p>
+<a name="id797504"></a><p class="title"><b>Table&#160;1.12.&#160;Function Traits Members</b></p>
 <div class="table-contents"><table class="table" summary="Function Traits Members">
 <colgroup>
 <col>
@@ -122,7 +122,7 @@
 </table></div>
 </div>
 <br class="table-break"><div class="table">
-<a name="id779146"></a><p class="title"><b>Table&#160;1.13.&#160;Examples</b></p>
+<a name="id797716"></a><p class="title"><b>Table&#160;1.13.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -49,7 +49,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id785419"></a><p class="title"><b>Table&#160;1.14.&#160;Examples</b></p>
+<a name="id805969"></a><p class="title"><b>Table&#160;1.14.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -54,7 +54,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id805776"></a><p class="title"><b>Table&#160;1.15.&#160;Examples</b></p>
+<a name="id824336"></a><p class="title"><b>Table&#160;1.15.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -54,7 +54,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id806252"></a><p class="title"><b>Table&#160;1.16.&#160;Examples</b></p>
+<a name="id825909"></a><p class="title"><b>Table&#160;1.16.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/promote.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/promote.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/promote.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -51,7 +51,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id808418"></a><p class="title"><b>Table&#160;1.17.&#160;Examples</b></p>
+<a name="id826426"></a><p class="title"><b>Table&#160;1.17.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/rank.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/rank.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/rank.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -36,8 +36,8 @@
         number of array dimensions in type <code class="computeroutput"><span class="identifier">T</span></code>.
       </p>
 <p>
- If <code class="computeroutput"><span class="identifier">T</span></code> is not an array type,
- then <code class="computeroutput"><span class="identifier">RANK</span><span class="special">(</span><span class="identifier">T</span><span class="special">)</span></code> is zero.
+ If <code class="computeroutput"><span class="identifier">T</span></code> is not a (built-in)
+ array type, then <code class="computeroutput"><span class="identifier">RANK</span><span class="special">(</span><span class="identifier">T</span><span class="special">)</span></code> is zero.
       </p>
 <p>
         <span class="bold"><strong>Header:</strong></span> <code class="computeroutput"> <span class="preprocessor">#include</span>
@@ -100,6 +100,17 @@
 <p>
           </p>
 <p>
+ <code class="computeroutput"><span class="identifier">rank</span><span class="special">&lt;</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span><span class="special">&lt;</span><span class="keyword">int</span><span class="special">,</span> <span class="number">3</span><span class="special">&gt;</span> <span class="special">&gt;::</span><span class="identifier">value</span></code>
+ is an integral constant expression that evaluates to <span class="emphasis"><em>0</em></span>:
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">array</span></code> is a class type and <span class="bold"><strong>not an array type</strong></span>!
+ </p>
+<p>
+ </p>
+</blockquote></div>
+<div class="blockquote"><blockquote class="blockquote">
+<p>
+ </p>
+<p>
             <code class="computeroutput"><span class="identifier">rank</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">value_type</span></code> is the type <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span></code>.
           </p>
 <p>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -54,7 +54,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id809452"></a><p class="title"><b>Table&#160;1.18.&#160;Examples</b></p>
+<a name="id827544"></a><p class="title"><b>Table&#160;1.18.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id809988"></a><p class="title"><b>Table&#160;1.19.&#160;Examples</b></p>
+<a name="id828700"></a><p class="title"><b>Table&#160;1.19.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id810580"></a><p class="title"><b>Table&#160;1.20.&#160;Examples</b></p>
+<a name="id829223"></a><p class="title"><b>Table&#160;1.20.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -54,7 +54,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id811102"></a><p class="title"><b>Table&#160;1.21.&#160;Examples</b></p>
+<a name="id829745"></a><p class="title"><b>Table&#160;1.21.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -34,7 +34,9 @@
 </pre>
 <p>
         <span class="bold"><strong>type:</strong></span> The same type as <code class="computeroutput"><span class="identifier">T</span></code>,
- but with any pointer modifier removed.
+ but with any pointer modifier removed. Note that pointers to members are
+ left unchanged: removing the pointer decoration would result in an invalid
+ type.
       </p>
 <p>
         <span class="bold"><strong>C++ Standard Reference:</strong></span> 8.3.1.
@@ -53,7 +55,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id811650"></a><p class="title"><b>Table&#160;1.22.&#160;Examples</b></p>
+<a name="id830292"></a><p class="title"><b>Table&#160;1.22.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id812155"></a><p class="title"><b>Table&#160;1.23.&#160;Examples</b></p>
+<a name="id831071"></a><p class="title"><b>Table&#160;1.23.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html (original)
+++ branches/release/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -53,7 +53,7 @@
         or <code class="computeroutput"> <span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">type_traits</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
       </p>
 <div class="table">
-<a name="id813969"></a><p class="title"><b>Table&#160;1.24.&#160;Examples</b></p>
+<a name="id831520"></a><p class="title"><b>Table&#160;1.24.&#160;Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: branches/release/libs/type_traits/doc/html/index.html
==============================================================================
--- branches/release/libs/type_traits/doc/html/index.html (original)
+++ branches/release/libs/type_traits/doc/html/index.html 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -30,7 +30,7 @@
       Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten Ottosen, Robert
       Ramey and Jeremy Siek</p></div>
 <div><div class="legalnotice">
-<a name="id751772"></a><p>
+<a name="id769606"></a><p>
         Distributed under the Boost Software License, Version 1.0. (See accompanying
         file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       </p>
@@ -164,7 +164,7 @@
   </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: March 30, 2009 at 18:02:46 +0100</small></p></td>
+<td align="left"><p><small>Last revised: January 11, 2010 at 13:19:25 +0000</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: branches/release/libs/type_traits/doc/rank.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/rank.qbk (original)
+++ branches/release/libs/type_traits/doc/rank.qbk 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -12,7 +12,7 @@
 __inherit Class template rank inherits from `__integral_constant<std::size_t, RANK(T)>`,
 where `RANK(T)` is the number of array dimensions in type `T`.
 
-If `T` is not an array type, then `RANK(T)` is zero.
+If `T` is not a (built-in) array type, then `RANK(T)` is zero.
 
 __header ` #include <boost/type_traits/rank.hpp>` or ` #include <boost/type_traits.hpp>`
 
@@ -31,6 +31,9 @@
 [:`rank<int*>::value` is an integral constant
 expression that evaluates to /0/.]
 
+[:`rank<boost::array<int, 3> >::value` is an integral constant
+expression that evaluates to /0/: `boost::array` is a class type and [*not an array type]!]
+
 [:`rank<T>::value_type` is the type `std::size_t`.]
 
 [endsect]

Modified: branches/release/libs/type_traits/doc/remove_pointer.qbk
==============================================================================
--- branches/release/libs/type_traits/doc/remove_pointer.qbk (original)
+++ branches/release/libs/type_traits/doc/remove_pointer.qbk 2010-03-18 12:57:43 EDT (Thu, 18 Mar 2010)
@@ -13,7 +13,8 @@
       typedef __below type;
    };
   
-__type The same type as `T`, but with any pointer modifier removed.
+__type The same type as `T`, but with any pointer modifier removed. Note that pointers to members are left unchanged:
+removing the pointer decoration would result in an invalid type.
 
 __std_ref 8.3.1.
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk