1

I like the idea of using attribute grammar to directly parse an input string and fill in a struct after adapting it to a random access sequence using BOOST_FUSION_ADAPT_STRUCT and was wondering if it's possible to adapt a class with private members and setter/getter functions to behave the same way?

Haitham Gad
  • 1,529
  • 2
  • 13
  • 23
  • 3
    See [BOOST_FUSION_ADAPT_ADT](http://www.boost.org/doc/libs/1_50_0/libs/fusion/doc/html/fusion/adapted.html) and friends – sehe Jul 06 '12 at 00:14

1 Answers1

0

As noted by sehe, I was looking for BOOST_FUSION_ADAPT_ADT.

Haitham Gad
  • 1,529
  • 2
  • 13
  • 23