This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.1 question
On Tue, Jun 04, 2002 at 01:12:35PM +0200, Gerald Pfeifer wrote:
> A pointer to T is not an iterator into a vector of T, and an iterator
> into a vector of T is not a pointer to T.
>
> Please note that this list is about developing GCC, not writing programs
> *with* GCC; I believe any modern textbook on C++ will provide hints on
> this issue.
Or the libstdc++ FAQ, for that matter. :-)
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams