|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71482 - in branches/release: boost/tr1 libs/tr1 libs/tr1/doc
From: john_at_[hidden]
Date: 2011-04-25 11:56:09
Author: johnmaddock
Date: 2011-04-25 11:56:08 EDT (Mon, 25 Apr 2011)
New Revision: 71482
URL: http://svn.boost.org/trac/boost/changeset/71482
Log:
Merge doc fixes from trunk.
Properties modified:
branches/release/boost/tr1/ (props changed)
branches/release/libs/tr1/ (props changed)
Text files modified:
branches/release/libs/tr1/doc/tr1.qbk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/release/libs/tr1/doc/tr1.qbk
==============================================================================
--- branches/release/libs/tr1/doc/tr1.qbk (original)
+++ branches/release/libs/tr1/doc/tr1.qbk 2011-04-25 11:56:08 EDT (Mon, 25 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