All pastes #2121079 Raw Edit

Someone

public text v1 · immutable
#2121079 ·published 2012-02-23 18:06 UTC
rendered paste body
  namespace qi = boost::spirit::qi;
  using enc::alnum;

  bool r = phrase_parse(
                        first,                          /*< start iterator >*/
                        last,                           /*< end iterator >*/
                        alnum[ boost::phoenix::ref(std::cout) << "Read: " << qi::_1 << std::endl ],       /*< the parser >*/
                        space                           /*< the skip-parser >*/
                        );