|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73722 - trunk/libs/spirit/doc/karma
From: hartmut.kaiser_at_[hidden]
Date: 2011-08-13 23:48:28
Author: hkaiser
Date: 2011-08-13 23:48:27 EDT (Sat, 13 Aug 2011)
New Revision: 73722
URL: http://svn.boost.org/trac/boost/changeset/73722
Log:
Spirit: Fixing docs
Text files modified:
trunk/libs/spirit/doc/karma/complex.qbk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/doc/karma/complex.qbk
==============================================================================
--- trunk/libs/spirit/doc/karma/complex.qbk (original)
+++ trunk/libs/spirit/doc/karma/complex.qbk 2011-08-13 23:48:27 EDT (Sat, 13 Aug 2011)
@@ -242,7 +242,7 @@
data structure. Fortunately, starting with Boost V1.43 it is possible to
adapt any data structure (not only, as before, structures with publicly
accessible members) as a __fusion__ sequence. All we have to do is to employ one
-of the new `BOOST_FUSION_ADAPT_CLASS` macros.
+of the new `BOOST_FUSION_ADAPT_ADT` macros.
[heading Adapting a Class As a Fusion Sequence]
@@ -276,7 +276,7 @@
__fusion__ sequence: a boolean and two double values (the real and the
imaginary part of the complex number). We want it to match the requirements of
our formatting grammar, which expects those exact values. The
-`BOOST_FUSION_ADAPT_CLASS` macro allows us to specify an arbitrary accessor
+`BOOST_FUSION_ADAPT_ADT` macro allows us to specify an arbitrary accessor
construct, not necessarily limited to just calling a member function of the
object instance (represented by `obj` in the context of this macro). This
allows us to nicely encapsulate the decision logic into the class adaptation.
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