Boost logo

Boost :

From: Joel de Guzman (djowel_at_[hidden])
Date: 2003-08-21 21:22:28


Paul Hamilton <paul_at_[hidden]> wrote:
>> parse_info<> result = parse (plist_wo_item, list_wo_item, space_p);
>
> This gives me a compile error. If you look at the "parse" template, the
> only version that seems to take the "space_p" parser is the one
> accepting iterators, and since my actual argument is a std:;string, I
> tried:
>
> parse_info<> result = parse (str.begin(), str.end(), list_wo_item,
> space_p);

See the FAQ: "The Scanner Business".

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk