Subject: Re: [boost] [Range] Confusing result of iterator_range::size()
From: michi7x7 (michi_at_[hidden])
Date: 2011-11-07 09:30:01
> Well, iterator_range<T> is not a container. Could you elaborate on your
That's why it probably shouldn't provide size() at all. distance() might
have been a better option for the name.
As long as it's name is size() it should return size_t IMHO.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk