Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-10-14 12:53:59


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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net