
----- Original Message ----- From: "Mathias Gaunard" <mathias.gaunard@ens-lyon.org> To: <boost@lists.boost.org> Sent: Wednesday, April 28, 2010 9:04 PM Subject: Re: [boost] [range] irange is not very eloquent vicente.botet a écrit :
I was wondering if irange can be used with integral types as char and bool? For example,
integer_range< ??? > lower_case = irange('a','z'+1);
Could you comment the above?
Probably not going to work because this searches for irange(char, int). try irange('a', char('z'+1)) or irange<char>('a', 'z'+1). _______________________________________________ Thanks for the comment. Maybe you can tell what is the type of ??? integer_range< ??? > lower_case = irange<char>('a','z'+1); Should I use Boost.Typeof? Best, Vicente