From: Joel de Guzman (joel_at_[hidden])
Date: 2005-06-25 09:59:51
Joel de Guzman wrote:
> Pedro LamarÃ£o wrote:
>>Pedro LamarÃ£o wrote:
>>>The following test program doesn't work like I would expect.
> There's a mailing list for spirit:
> Please post there. Thanks!
Well, since this is an easy one...
rule_t test_hit = range_p(0x80, 0x7F);
rule_t test_hit = range_p(char(0x80), char(0x7F));
Why? Because range_p(0x80, 0x7F) returns a range<int>,
not a range<char> that you are expecting.
-- 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