|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59474 - in trunk/libs/type_traits/doc: . html/boost_typetraits/reference
From: john_at_[hidden]
Date: 2010-02-04 12:22:34
Author: johnmaddock
Date: 2010-02-04 12:22:33 EST (Thu, 04 Feb 2010)
New Revision: 59474
URL: http://svn.boost.org/trac/boost/changeset/59474
Log:
Add comment to remove_pointer docs.
Fixes #3771.
Text files modified:
trunk/libs/type_traits/doc/html/boost_typetraits/reference/remove_pointer.html | 4 +++-
trunk/libs/type_traits/doc/remove_pointer.qbk | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
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 2010-02-04 12:22:33 EST (Thu, 04 Feb 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.
Modified: trunk/libs/type_traits/doc/remove_pointer.qbk
==============================================================================
--- trunk/libs/type_traits/doc/remove_pointer.qbk (original)
+++ trunk/libs/type_traits/doc/remove_pointer.qbk 2010-02-04 12:22:33 EST (Thu, 04 Feb 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