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?
Asked
Active
Viewed 316 times
1

Haitham Gad
- 1,529
- 2
- 13
- 23
-
3See [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