forked from boostorg/fusion
doc updates (mini tweaks)
[SVN r47668]
This commit is contained in:
@ -11,10 +11,7 @@ Fusion provides a couple of adapters for other sequences such as
|
||||
`std::pair`, __mpl__ sequences, and `boost::array`. These adapters are
|
||||
written using Fusion's non-intrusive __extension__ mechanism. If you wish
|
||||
to use these sequences with fusion, simply include the necessary files and
|
||||
they will be regarded as first-class, fully conforming fusion sequences
|
||||
[footnote Fusion sequences may also be adapted as fully conforming __mpl__
|
||||
sequences (see __intrinsics__). That way, we can have 2-way adaptation to
|
||||
and from __mpl__ and Fusion].
|
||||
they will be regarded as first-class, fully conforming fusion sequences.
|
||||
|
||||
Fusion also provides various schemes to make it easy for the user to adapt
|
||||
various data structures, non-intrusively, as full fledged Fusion sequences.
|
||||
@ -24,6 +21,19 @@ various data structures, non-intrusively, as full fledged Fusion sequences.
|
||||
#include <boost/fusion/adapted.hpp>
|
||||
#include <boost/fusion/include/adapted.hpp>
|
||||
|
||||
Fusion sequences may also be adapted as fully conforming __mpl__ sequences (see
|
||||
__intrinsics__). That way, we can have 2-way adaptation to and from __mpl__ and
|
||||
Fusion. To make Fusion sequences fully conforming __mpl__ sequences, include:
|
||||
|
||||
#include <boost/fusion/mpl.hpp>
|
||||
|
||||
If you want bi-directional adaptation to and from __mpl__ and Fusion, simply
|
||||
include:
|
||||
|
||||
#include <boost/fusion/include/mpl.hpp>
|
||||
|
||||
The header includes all the necessary headers.
|
||||
|
||||
[section std::pair]
|
||||
|
||||
This module provides adapters for `std::pair`. Including the module header
|
||||
|
Reference in New Issue
Block a user