Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2007-10-04 05:18:25


Author: johnmaddock
Date: 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
New Revision: 39682
URL: http://svn.boost.org/trac/boost/changeset/39682

Log:
Added tip to function_traits.qbk, rebuilt docs.
Text files modified:
   trunk/libs/type_traits/doc/Jamfile.v2 | 3
   trunk/libs/type_traits/doc/function_traits.qbk | 6 ++
   trunk/libs/type_traits/doc/html/boost_typetraits/background.html | 22 +++++-----
   trunk/libs/type_traits/doc/html/boost_typetraits/category/transform.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/intrinsics.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/decay.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html | 15 ++++++
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html | 81 +++++++++++++--------------------------
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_pointer.html | 27 ++++--------
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/promote.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html | 2
   trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html | 2
   trunk/libs/type_traits/doc/html/index.html | 2
   27 files changed, 91 insertions(+), 105 deletions(-)

Modified: trunk/libs/type_traits/doc/Jamfile.v2
==============================================================================
--- trunk/libs/type_traits/doc/Jamfile.v2 (original)
+++ trunk/libs/type_traits/doc/Jamfile.v2 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -11,7 +11,7 @@
         type_traits
     :
         # Path for links to Boost:
- <xsl:param>boost.root=../../../../
+ <xsl:param>boost.root=../../../..
         # Path for libraries index:
         <xsl:param>boost.libraries=../../../libraries.htm
         # Use the main Boost stylesheet:
@@ -60,3 +60,4 @@
 #install html : ../../../doc/html/boostbook.css ;
 #install ../ : ../../../boost.png ;
 
+

Modified: trunk/libs/type_traits/doc/function_traits.qbk
==============================================================================
--- trunk/libs/type_traits/doc/function_traits.qbk (original)
+++ trunk/libs/type_traits/doc/function_traits.qbk 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -15,6 +15,12 @@
 * The template argument `T` is a /function type/, note that this ['[*is not]]
 the same thing as a /pointer to a function/.
 
+[tip
+function_traits is intended to introspect only C++ functions of the
+form R (), R( A1 ), R ( A1, ... etc. ) and not function pointers or
+class member functions. To convert a function pointer type to a suitable
+type use __remove_pointer.]
+
 [table Function Traits Members
 [[Member] [Description]]
 [[`function_traits<T>::arity`]

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/background.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/background.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/background.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -56,7 +56,7 @@
       method available to them.
     </p>
 <a name="boost_typetraits.background.type_traits"></a><h5>
-<a name="id436312"></a>
+<a name="id437715"></a>
       <a 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="id436429"></a>
+<a name="id437832"></a>
       <a href="background.html#boost_typetraits.background.implementation">Implementation</a>
     </h5>
 <p>
@@ -179,7 +179,7 @@
       in the default template.
     </p>
 <a name="boost_typetraits.background.optimized_copy"></a><h5>
-<a name="id490215"></a>
+<a name="id490248"></a>
       <a href="background.html#boost_typetraits.background.optimized_copy">Optimized copy</a>
     </h5>
 <p>
@@ -253,7 +253,7 @@
       otherwise it will call the "slow but safe version".
     </p>
 <a name="boost_typetraits.background.was_it_worth_it_"></a><h5>
-<a name="id490758"></a>
+<a name="id490790"></a>
       <a href="background.html#boost_typetraits.background.was_it_worth_it_">Was it worth it?</a>
     </h5>
 <p>
@@ -286,7 +286,7 @@
       </li>
 </ul></div>
 <div class="table">
-<a name="id490829"></a><p class="title"><b>Table 1.1. Time taken to copy 1000 elements using `copy&lt;const
+<a name="id490860"></a><p class="title"><b>Table 1.1. 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)">
@@ -385,7 +385,7 @@
 </table></div>
 </div>
 <br class="table-break"><a name="boost_typetraits.background.pair_of_references"></a><h5>
-<a name="id490986"></a>
+<a name="id491017"></a>
       <a href="background.html#boost_typetraits.background.pair_of_references">Pair of References</a>
     </h5>
 <p>
@@ -423,7 +423,7 @@
       to hold non-reference types, references, and constant references:
     </p>
 <div class="table">
-<a name="id491349"></a><p class="title"><b>Table 1.2. Required Constructor Argument Types</b></p>
+<a name="id491380"></a><p class="title"><b>Table 1.2. Required Constructor Argument Types</b></p>
 <div class="table-contents"><table class="table" summary="Required Constructor Argument Types">
 <colgroup>
 <col>
@@ -488,7 +488,7 @@
       adds a reference to its type, unless it is already a reference.
     </p>
 <div class="table">
-<a name="id491474"></a><p class="title"><b>Table 1.3. Using add_reference to synthesize the correct constructor
+<a name="id491505"></a><p class="title"><b>Table 1.3. 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">
@@ -606,7 +606,7 @@
       easier to maintain and easier to understand.
     </p>
 <a name="boost_typetraits.background.conclusion"></a><h5>
-<a name="id492096"></a>
+<a name="id492128"></a>
       <a href="background.html#boost_typetraits.background.conclusion">Conclusion</a>
     </h5>
 <p>
@@ -619,7 +619,7 @@
       can be optimal as well as generic.
     </p>
 <a name="boost_typetraits.background.acknowledgements"></a><h5>
-<a name="id492397"></a>
+<a name="id492428"></a>
       <a href="background.html#boost_typetraits.background.acknowledgements">Acknowledgements</a>
     </h5>
 <p>
@@ -627,7 +627,7 @@
       comments when preparing this article.
     </p>
 <a name="background.references"></a><a name="boost_typetraits.background.references"></a><h5>
-<a name="id492431"></a>
+<a name="id492462"></a>
       <a href="background.html#boost_typetraits.background.references">References</a>
     </h5>
 <div class="orderedlist"><ol type="1">

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/category/transform.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/category/transform.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/category/transform.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -92,7 +92,7 @@
 <span class="keyword">struct</span> remove_volatile<span class="special">;</span>
 </pre>
 <a name="boost_typetraits.category.transform.broken_compiler_workarounds_"></a><h5>
-<a name="id496247"></a>
+<a name="id496277"></a>
         <a href="transform.html#boost_typetraits.category.transform.broken_compiler_workarounds_">Broken
         Compiler Workarounds:</a>
       </h5>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/intrinsics.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/intrinsics.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/intrinsics.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -71,7 +71,7 @@
       of the following macros:
     </p>
 <div class="table">
-<a name="id498491"></a><p class="title"><b>Table 1.4. Macros for Compiler Intrinsics</b></p>
+<a name="id498521"></a><p class="title"><b>Table 1.4. Macros for Compiler Intrinsics</b></p>
 <div class="table-contents"><table class="table" summary="Macros for Compiler Intrinsics">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_const.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id503633"></a><p class="title"><b>Table 1.5. Examples</b></p>
+<a name="id503663"></a><p class="title"><b>Table 1.5. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_cv.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -55,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="id504273"></a><p class="title"><b>Table 1.6. Examples</b></p>
+<a name="id504304"></a><p class="title"><b>Table 1.6. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_pointer.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -57,7 +57,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="id504986"></a><p class="title"><b>Table 1.7. Examples</b></p>
+<a name="id505017"></a><p class="title"><b>Table 1.7. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_reference.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id505625"></a><p class="title"><b>Table 1.8. Examples</b></p>
+<a name="id505657"></a><p class="title"><b>Table 1.8. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/add_volatile.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id506255"></a><p class="title"><b>Table 1.9. Examples</b></p>
+<a name="id506288"></a><p class="title"><b>Table 1.9. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/decay.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/decay.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/decay.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id507917"></a><p class="title"><b>Table 1.10. Examples</b></p>
+<a name="id507948"></a><p class="title"><b>Table 1.10. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/floating_point_promotion.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -50,7 +50,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="id509705"></a><p class="title"><b>Table 1.11. Examples</b></p>
+<a name="id509736"></a><p class="title"><b>Table 1.11. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/function_traits.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -48,8 +48,19 @@
           to a function</em></span>.
         </li>
 </ul></div>
+<div class="tip"><table border="0" summary="Tip">
+<tr>
+<td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="../../../../../../doc/html/images/tip.png"></td>
+<th align="left">Tip</th>
+</tr>
+<tr><td align="left" valign="top"><p>
+ function_traits is intended to introspect only C++ functions of the form
+ R (), R( A1 ), R ( A1, ... etc. ) and not function pointers or class member
+ functions. To convert a function pointer type to a suitable type use remove_pointer.
+ </p></td></tr>
+</table></div>
 <div class="table">
-<a name="id510164"></a><p class="title"><b>Table 1.12. Function Traits Members</b></p>
+<a name="id510217"></a><p class="title"><b>Table 1.12. Function Traits Members</b></p>
 <div class="table-contents"><table class="table" summary="Function Traits Members">
 <colgroup>
 <col>
@@ -112,7 +123,7 @@
 </table></div>
 </div>
 <br class="table-break"><div class="table">
-<a name="id510443"></a><p class="title"><b>Table 1.13. Examples</b></p>
+<a name="id510495"></a><p class="title"><b>Table 1.13. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/integral_promotion.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -50,7 +50,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="id515944"></a><p class="title"><b>Table 1.14. Examples</b></p>
+<a name="id516016"></a><p class="title"><b>Table 1.14. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_function.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -131,69 +131,44 @@
 </tr>
 <tr><td align="left" valign="top">
 <p>
- </p>
-<p>
- Don't confuse function-types with pointers to functions:
- </p>
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="keyword">typedef</span> <span class="keyword">int</span>
- <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span><span class="special">);</span></code>
- </p>
-<p>
- </p>
-<p>
- defines a function type,
- </p>
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">f</span> <span class="identifier">foo</span><span class="special">;</span></code>
- </p>
-<p>
- </p>
-<p>
- declares a prototype for a function of type <code class="computeroutput"><span class="identifier">f</span></code>,
- </p>
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">f</span><span class="special">*</span>
- <span class="identifier">pf</span> <span class="special">=</span>
- <span class="identifier">foo</span><span class="special">;</span></code>
- </p>
-<p>
- </p>
+ Don't confuse function-types with pointers to functions:
+ </p>
 <p>
- <code class="computeroutput"><span class="identifier">f</span><span class="special">&amp;</span>
- <span class="identifier">fr</span> <span class="special">=</span>
- <span class="identifier">foo</span><span class="special">;</span></code>
- </p>
+ <code class="computeroutput"><span class="keyword">typedef</span> <span class="keyword">int</span>
+ <span class="identifier">f</span><span class="special">(</span><span class="keyword">double</span><span class="special">);</span></code>
+ </p>
 <p>
- </p>
+ defines a function type,
+ </p>
 <p>
- declares a pointer and a reference to the function <code class="computeroutput"><span class="identifier">foo</span></code>.
- </p>
+ <code class="computeroutput"><span class="identifier">f</span> <span class="identifier">foo</span><span class="special">;</span></code>
+ </p>
 <p>
- </p>
+ declares a prototype for a function of type <code class="computeroutput"><span class="identifier">f</span></code>,
+ </p>
 <p>
- If you want to detect whether some type is a pointer-to-function then
- use:
- </p>
+ <code class="computeroutput"><span class="identifier">f</span><span class="special">*</span>
+ <span class="identifier">pf</span> <span class="special">=</span>
+ <span class="identifier">foo</span><span class="special">;</span></code>
+ </p>
 <p>
- </p>
+ <code class="computeroutput"><span class="identifier">f</span><span class="special">&amp;</span>
+ <span class="identifier">fr</span> <span class="special">=</span>
+ <span class="identifier">foo</span><span class="special">;</span></code>
+ </p>
 <p>
- <code class="computeroutput">is_function<span class="special">&lt;</span>remove_pointer<span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">value</span>
- <span class="special">&amp;&amp;</span> is_pointer<span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">value</span></code>
- </p>
+ declares a pointer and a reference to the function <code class="computeroutput"><span class="identifier">foo</span></code>.
+ </p>
 <p>
- </p>
+ If you want to detect whether some type is a pointer-to-function then use:
+ </p>
 <p>
- or for pointers to member functions you can just use is_member_function_pointer
- directly.
- </p>
+ <code class="computeroutput">is_function<span class="special">&lt;</span>remove_pointer<span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">type</span><span class="special">&gt;::</span><span class="identifier">value</span>
+ <span class="special">&amp;&amp;</span> is_pointer<span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;::</span><span class="identifier">value</span></code>
+ </p>
 <p>
+ or for pointers to member functions you can just use is_member_function_pointer
+ directly.
         </p>
 </td></tr>
 </table></div>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_pointer.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_pointer.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/is_pointer.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -110,23 +110,16 @@
 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]" src="../../../../../../doc/html/images/important.png"></td>
 <th align="left">Important</th>
 </tr>
-<tr><td align="left" valign="top">
-<p>
- </p>
-<p>
- <code class="computeroutput"><span class="identifier">is_pointer</span></code> detects "real"
- pointer types only, and <span class="emphasis"><em>not</em></span> smart pointers. Users
- should not specialise <code class="computeroutput"><span class="identifier">is_pointer</span></code>
- for smart pointer types, as doing so may cause Boost (and other third
- party) code to fail to function correctly. Users wanting a trait to detect
- smart pointers should create their own. However, note that there is no
- way in general to auto-magically detect smart pointer types, so such
- a trait would have to be partially specialised for each supported smart
- pointer type.
- </p>
-<p>
- </p>
-</td></tr>
+<tr><td align="left" valign="top"><p>
+ <code class="computeroutput"><span class="identifier">is_pointer</span></code> detects "real"
+ pointer types only, and <span class="emphasis"><em>not</em></span> smart pointers. Users
+ should not specialise <code class="computeroutput"><span class="identifier">is_pointer</span></code>
+ for smart pointer types, as doing so may cause Boost (and other third party)
+ code to fail to function correctly. Users wanting a trait to detect smart
+ pointers should create their own. However, note that there is no way in
+ general to auto-magically detect smart pointer types, so such a trait would
+ have to be partially specialised for each supported smart pointer type.
+ </p></td></tr>
 </table></div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_signed.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -55,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="id536333"></a><p class="title"><b>Table 1.15. Examples</b></p>
+<a name="id536397"></a><p class="title"><b>Table 1.15. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/make_unsigned.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -55,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="id536966"></a><p class="title"><b>Table 1.16. Examples</b></p>
+<a name="id537030"></a><p class="title"><b>Table 1.16. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/promote.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/promote.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/promote.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -52,7 +52,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="id537667"></a><p class="title"><b>Table 1.17. Examples</b></p>
+<a name="id537732"></a><p class="title"><b>Table 1.17. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_all_extents.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -55,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="id539102"></a><p class="title"><b>Table 1.18. Examples</b></p>
+<a name="id539167"></a><p class="title"><b>Table 1.18. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_const.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id539826"></a><p class="title"><b>Table 1.19. Examples</b></p>
+<a name="id539889"></a><p class="title"><b>Table 1.19. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_cv.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id540531"></a><p class="title"><b>Table 1.20. Examples</b></p>
+<a name="id540594"></a><p class="title"><b>Table 1.20. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_extent.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -55,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="id541235"></a><p class="title"><b>Table 1.21. Examples</b></p>
+<a name="id541298"></a><p class="title"><b>Table 1.21. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id541971"></a><p class="title"><b>Table 1.22. Examples</b></p>
+<a name="id542035"></a><p class="title"><b>Table 1.22. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_reference.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id542652"></a><p class="title"><b>Table 1.23. Examples</b></p>
+<a name="id542716"></a><p class="title"><b>Table 1.23. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html
==============================================================================
--- trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html (original)
+++ trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_volatile.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -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="id543259"></a><p class="title"><b>Table 1.24. Examples</b></p>
+<a name="id543323"></a><p class="title"><b>Table 1.24. Examples</b></p>
 <div class="table-contents"><table class="table" summary="Examples">
 <colgroup>
 <col>

Modified: trunk/libs/type_traits/doc/html/index.html
==============================================================================
--- trunk/libs/type_traits/doc/html/index.html (original)
+++ trunk/libs/type_traits/doc/html/index.html 2007-10-04 05:18:16 EDT (Thu, 04 Oct 2007)
@@ -27,7 +27,7 @@
       Marcus, Itay Maman, John Maddock, Alexander Nasonov, Thorsten Ottosen, Robert
       Ramey and Jeremy Siek</p></div>
 <div><div class="legalnotice">
-<a name="id489810"></a><p>
+<a name="id435860"></a><p>
         Distributed under the Boost Software License, Version 1.0. (See accompanying
         file LICENSE_1_0.txt or copy at &lt;ulink url="http://www.boost.org class="emphasis"><em>LICENSE_1_0.txt"&gt;
         http:</em></span>/www.boost.org/LICENSE_1_0.txt &lt;/ulink&gt;)


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