|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71028 - trunk/libs/tr1/doc
From: john_at_[hidden]
Date: 2011-04-06 06:51:32
Author: johnmaddock
Date: 2011-04-06 06:51:30 EDT (Wed, 06 Apr 2011)
New Revision: 71028
URL: http://svn.boost.org/trac/boost/changeset/71028
Log:
Fix typos.
Fixes #5346.
Text files modified:
trunk/libs/tr1/doc/tr1.qbk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/tr1/doc/tr1.qbk
==============================================================================
--- trunk/libs/tr1/doc/tr1.qbk (original)
+++ trunk/libs/tr1/doc/tr1.qbk 2011-04-06 06:51:30 EDT (Wed, 06 Apr 2011)
@@ -126,14 +126,14 @@
Regardless of how the includes are setup, user code written to work
with Boost.TR1 is exactly the same as code written to use a native
tr1 implementation. That is, references to classes and functions
-need to explicitly use the `std::tr1` namespace or a `using std::tr1`
+need to explicitly use the `std::tr1` namespace or a `using namespace std::tr1`
statement. For example,
std::tr1::tuple<int, std::string> t = std::tr1::make_tuple(10, "hello");
or
- using std::tr1;
+ using namespace std::tr1;
tuple<int, std::string> t = make_tuple(10, "hello");
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