🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Gerald Loeffler Fri, 18 Aug 1995 17:26
No operator-> for iterators in STL
#1739
Author: Gerald Loeffler
Date: Fri, 18 Aug 1995 17:26
36 lines
1211 bytes
Distribution:
Hi!

Why is it that for a (dereferencable) iterator i in STL you can do:

	(*i).method();

but you can't do:

	i->method();

????

	Yours,
	Gerald
-- 
Gerald Loeffler
PhD student in Theoretical Biochemistry

EMail: gl@mdy.univie.ac.at
Phone: +43 1 40480 612
Fax:   +43 1 4028525
SMail: University of Vienna
       Institute for Theoretical Chemistry
       Theoretical Biochemistry Group
       Waehringerstrasse 17/Parterre
       A-1090 Wien, Austria

#include "fancy_ASCII_picture"
#include "funny_statement"
#include "standard_disclaimer"

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads