Boost logo

Boost :

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...

Try changing
     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

Boost list run by bdawes at, gregod at, cpdaniel at, john at