
28 Apr
2010
28 Apr
'10
7:04 p.m.
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).