X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Alex Vinokur Newsgroups: comp.os.msdos.djgpp,comp.lang.c++ Subject: Re: Passing 'const' as 'this' discards qualifiers Date: Tue, 04 Dec 2001 15:58:49 +0200 Organization: Scopus Network Technologies Lines: 34 Message-ID: <3C0CD695.7F408020@bigfoot.com> References: <3C0CCEE3 DOT A2D60376 AT bigfoot DOT com> <3C0CD55F DOT B04E8089 AT gascad DOT at> NNTP-Posting-Host: 62.90.123.5 Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1007474336 9221912 62.90.123.5 (16 [79865]) X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Karl Heinz Buchegger wrote: > Alex Vinokur wrote: > > > > > public: > > bool operator() (AAA& ins1, AAA& ins2) const {return false;} > ***** > operator() on my program doesn't contain const : class less_AAA { public: bool operator() (AAA& ins1, AAA& ins2) {return false;} }; > > -- > Karl Heinz Buchegger > kbuchegg AT gascad DOT at -- =========================== Alex Vinokur mailto:alexvn AT bigfoot DOT com mailto:alexvn AT dr DOT com http://up.to/alexvn http://go.to/alexv_math ===========================