help-gplusplus
[Top][All Lists]
Advanced

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

Re: what is difference_type?


From: address@hidden
Subject: Re: what is difference_type?
Date: 15 Dec 2006 08:59:38 -0800
User-agent: G2/1.0

Thanks for your prompt response, that was very helpful.

Have a good one.

John V Shahid wrote:
> 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]