|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69541 - trunk/libs/tr1/doc
From: john_at_[hidden]
Date: 2011-03-04 04:00:52
Author: johnmaddock
Date: 2011-03-04 04:00:48 EST (Fri, 04 Mar 2011)
New Revision: 69541
URL: http://svn.boost.org/trac/boost/changeset/69541
Log:
Add note on portability issues.
Refs #5254.
Text files modified:
trunk/libs/tr1/doc/tr1.qbk | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/libs/tr1/doc/tr1.qbk
==============================================================================
--- trunk/libs/tr1/doc/tr1.qbk (original)
+++ trunk/libs/tr1/doc/tr1.qbk 2011-03-04 04:00:48 EST (Fri, 04 Mar 2011)
@@ -1010,6 +1010,11 @@
in the [@http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf
Library Extension Technical Report Issues List].
+[note There are portability issues with this template - in particular the `hash` template
+might not actually be defined inside namespace std::tr1, making user-defined specializations
+of the template non-portable. For example Visual C++ 2010 defines `hash` in namespace `std`
+and then imports this into `std::tr1` with a using declaration.]
+
[endsect]
[section:regex Regular Expressions.]
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