
18 Feb
2013
18 Feb
'13
12:32 p.m.
On 18/02/13 06:30, Nathan Ridge wrote:
The suggested workaround is to give iterator_range a base class, specialize this base class for random-access iterators, and only define size() in this specialization.
This kind of thing is very tedious to do, this is exactly why class-scope static_if is so useful.