|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57732 - trunk/libs/spirit/doc/qi
From: daniel_james_at_[hidden]
Date: 2009-11-17 16:57:42
Author: danieljames
Date: 2009-11-17 16:57:41 EST (Tue, 17 Nov 2009)
New Revision: 57732
URL: http://svn.boost.org/trac/boost/changeset/57732
Log:
Document prefix_find.
Text files modified:
trunk/libs/spirit/doc/qi/string.qbk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/libs/spirit/doc/qi/string.qbk
==============================================================================
--- trunk/libs/spirit/doc/qi/string.qbk (original)
+++ trunk/libs/spirit/doc/qi/string.qbk 2009-11-17 16:57:41 EST (Tue, 17 Nov 2009)
@@ -187,6 +187,7 @@
[[`s1`...`sN`] [A __string__.]]
[[`d1`...`dN`] [Objects of type `T`.]]
[[`f`] [A callable function or function object.]]
+ [[`f`, `l`] [`ForwardIterator` first/last pair.]]
]
[heading Expression Semantics]
@@ -220,6 +221,11 @@
with symbol, `s`. If `sym` does not already
contain such an object, `find` returns a null
pointer.]]
+ [[`sym.prefix_find(f, l)`] [Return a pointer to the object associated
+ with longest symbol that matches the beginning
+ of the range `[f, l)`, and updates `f` to point
+ to one past the end of that match. If no symbol matches,
+ then return a null pointer, and `f` is unchanged.]]
[[`sym.for_each(f)`] [For each symbol in `sym`, `s`, a
`std::basic_string<Char>` with associated data,
`d`, an object of type `T`, invoke `f(s, d)`.]]
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