| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | Alex Vinokur <alexvn AT bigfoot DOT com> |
| 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 |
| 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
===========================
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |