...to be honest, I'm not sure how to proceed. A couple of things are
throwing me off guard:
- According to the manual, we need an actor_lexer<> to do this. Aren't
the "++ref(c), ++ref(l)" primitives considered semantic actions? Because
this isn't an actor_lexer<> AFAICT
- Wouldn't my iterator type for the function object simply be 'Iterator'
(the template argument I'm using)? This gives me tons of compiler warnings.
I realize I might be lacking some fundamentals here -- but I'm not sure
what they are. Any kind of pointer is appreciated.
Note that I'm using boost::bind() because I use that all the time --
there might be other ways to go ahead, and I'd be interested to hear
them (I read the comments on Phoenix and Boost.Lambda). In the long run,
I'll need access to other objects to set up stuff, though, so I believe
this is the right way to go.