14 Oct
2005
14 Oct
'05
5:53 p.m.
Aaron Griffin wrote:
Going to try this, but I'm not sure if I fully understand. I just came across the distinct_parser family, so my question is: How is this different from using something like: distinct_parser_dynamic<> keyword_p(alnum_p | '_'); keyword_p("my_key_word") >> identifier;
Same. Actually, the Quickbook technique prompted the distinct_parser thing. It's lighter, FWIW -- for the same reason why I prefer actual loops instead of the confix_p, list_p facilities. Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net