|
Boost Users : |
Subject: Re: [Boost-users] Spirit question
From: philip tucker (phhht_at_[hidden])
Date: 2010-03-17 17:34:53
Beg pardon, wrong question.
Would you give me an example of a separate string id parser (like
ident?) used in a comma-separated-list parser? In short, I don't
know how to resolve the discrepancy in attributes.
Thanks again.
On 17 Mar 2010, at 12:32 PM, Igor R wrote:
>> Please see attached code. Why does line A compile while line B
>> doesn't?
>>
>
> It looks like the attribute of the line B cannot be converted to
> std::string, because the attr of *(char_(',') >> id) is
> vector<string>.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
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