help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what is difference_type?


From: John V Shahid
Subject: Re: what is difference_type?
Date: Thu, 14 Dec 2006 23:26:59 -0500

It is the type used to represent the difference between two iterators of
the same type. Usually it is ptr_diff for regular c/c++ pointers, since
they are considered random access iterators and there's a specialized
iterator_traits for them(i mean pointers).

On Thu, 2006-12-14 at 05:58 -0800, jalqadir@gmail.com wrote:
> Does anyone know what is the value of ' _Iterator::difference_type ' as
> it is stated in:
> 'std::iterator_traits' i.e. typedef _Iterator::difference_type
> difference_type.
> Thanks in advance.
> 
> _______________________________________________
> help-gplusplus mailing list
> help-gplusplus@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gplusplus
-- 
                                                          John V. Shahid





reply via email to

[Prev in Thread] Current Thread [Next in Thread]