Newsgroups: comp.lang.c++ Path: utzoo!utgpu!cunews!csi.uottawa.ca!news From: hitz@csi.uottawa.ca (Martin Hitz) Subject: Re: Help needed in c++ Message-ID: <1991Jun19.161510.18266@csi.uottawa.ca> Sender: news@csi.uottawa.ca Nntp-Posting-Host: sim5 Organization: University of Ottawa References: <3257@odin.cs.hw.ac.uk> Date: Wed, 19 Jun 91 16:15:10 GMT In article <3257@odin.cs.hw.ac.uk> marina@cs.hw.ac.uk (Marina Georgiadou) writes: >class A{ > virtual int f() const; >}; > >Does anybody know the meaning of this const postfix ?? It denotes the promise, that f() will not change *this (it's hidden argument). Martin Hitz@csi.uottawa.ca