
19 Oct
2011
19 Oct
'11
8:35 p.m.
On Wed, Oct 19, 2011 at 10:29 PM, Jeffrey Lee Hellrung, Jr. <jeffrey.hellrung@gmail.com> wrote:
How is difference_type relevant?
I was just making an analogy... Honestly, I'd be surprised if there were
Ah
any practical problems with using std::size_t, but likewise I'd be surprised if there were any practical problems with always using std::ptrdiff_t for difference_type.
Probably not, but as there's iterator_traits<>::difference_type, there's no need to always use std::ptrdiff_t. Maybe size_type should be added in TR2? :p Olaf