Boost logo

Boost Users :

Subject: [Boost-users] [spirit] first steps
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-18 12:59:26


Hello,

How to use the string parser?
I tried this way:

std::string s1;
bool r = qi::phrase_parse(first, last,
(
  string[ref(s1) = _1]
)
,
space);

But it doesn't compile.

Thanks.


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