Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73247 - trunk/libs/fusion/doc
From: joel_at_[hidden]
Date: 2011-07-19 19:29:07


Author: djowel
Date: 2011-07-19 19:29:06 EDT (Tue, 19 Jul 2011)
New Revision: 73247
URL: http://svn.boost.org/trac/boost/changeset/73247

Log:
fixed wording to make it clear that I/O operators are only available for sequences in fusion's namespace
Text files modified:
   trunk/libs/fusion/doc/sequence.qbk | 19 +++++++++++++------
   1 files changed, 13 insertions(+), 6 deletions(-)

Modified: trunk/libs/fusion/doc/sequence.qbk
==============================================================================
--- trunk/libs/fusion/doc/sequence.qbk (original)
+++ trunk/libs/fusion/doc/sequence.qbk 2011-07-19 19:29:06 EDT (Tue, 19 Jul 2011)
@@ -1425,12 +1425,19 @@
 
 [section I/O]
 
-The I/O operators: `<<` and `>>` work generically on all Fusion sequences.
-The global `operator<<` has been overloaded for generic output streams such
-that __sequence__(s) are output by recursively calling `operator<<` for each
-element. Analogously, the global `operator>>` has been overloaded to
-extract __sequence__(s) from generic input streams by recursively calling
-`operator>>` for each element.
+The I/O operators: `<<` and `>>` work generically on all Fusion
+sequences. The I/O operators are overloaded in namespace `boost::fusion`
+[footnote __sequences__ and __views__ residing in different namespaces
+will have to either provide their own I/O operators (possibly forwarding
+to fusion's I/O operators) or hoist fusion's I/O operators (using
+declaration), in their own namespaces for proper argument dependent
+lookup.]
+
+The `operator<<` has been overloaded for generic output streams such
+that __sequence__(s) are output by recursively calling `operator<<` for
+each element. Analogously, the global `operator>>` has been overloaded
+to extract __sequence__(s) from generic input streams by recursively
+calling `operator>>` for each element.
 
 The default delimiter between the elements is space, and the __sequence__
 is enclosed in parenthesis. For Example:


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