1 Aug 02:25
Re: string_switch
OvermindDL1 <overminddl1 <at> gmail.com>
2009-08-01 00:25:23 GMT
2009-08-01 00:25:23 GMT
On Fri, Jul 31, 2009 at 6:34 AM, Hartmut Kaiser<hartmut.kaiser <at> gmail.com> wrote: >> My first go at making a more elaborate terminal, although mostly >> shamelessly ripped from symbol. >> >> See attached file, should be a drop in over your boost directory, it >> overwrites one file (adds a header include to it) that normally comes >> with the spirit distribution. Also includes a test file (that I may >> still add more things to), and a barely started documentation file. >> >> Can this be tested, tell me what is broken, how it can be fixed, >> etc...? > > Looks great! Since I didn't run it yet first a couple of formal comments: > > - I think this component is meant to end up in the repository, so you need > to change the directory structure accordingly > - please remove all tabs from the files (Boost guidelines, you won't even be > able to commit a file containing tabs) > - Is it really necessary to re-implement the whole symbols class? Wouldn't a > simpler: > > template < > typename RuleType > , typename Lookup = tst< > typename std::iterator_traits< > RuleType::iterator_type>::value_type > , RuleType> > , typename Filter = tst_pass_through> > struct string_switch > : symbols<(Continue reading)
RSS Feed