
Larry Evans wrote:
dan marsden wrote:
Hi All
I'm posting an early version of a library for manipulating hierarchical data structures, for example the parse trees that are produced by Spirit2. The library enables traversals, and local modifications of complex data structures, without the need to implement large amounts of repetitive traversal code. The library is in a very early state, but has a pretty large introduction and quick start guide, which (hopefully) will help get people started with the library. Formal documentation is unfortunately non-existent at this point.
[snip]
Online documentation can be found at:
Page:
http://spirit.sourceforge.net/dl_docs/traversal/html/traversal/quick_start_g...
contains:
BOOST_FUSION_ADAPT_STRUCT(demo::dept, (std::string, name) (std::vector<demo::unit>, units))
I'm assuming demo is a namespace; yet, there's no declaration on that page. Also, although I could guess what
Sorry, hit wrong button. Continuing: Although I could guess what BOOST_FUSION_ADAPT_STRUCT does, it would help to provide the reference: http://spirit.sourceforge.net/dl_more/fusion_v2/libs/fusion/doc/html/fusion/... I couldn't find any doc on my local copy of fusion, and the boost.org docs: http://www.boost.org/libs/libraries.htm had nothing; so, I had to search the mailing list for some location before I found adapt_struct.html.