Boost logo

Boost :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2005-06-26 07:34:59

Joel de Guzman wrote:

> Well, since this is an easy one...
> Try changing
> rule_t test_hit = range_p(0x80, 0x7F);
> to
> 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.
> Regards,

Yeah, it's even a little obvious, now that you pointed it out.

I'll keep the spirit list in mind for a next time.

 Pedro Lamarão

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