Article View: be.comp.programming
Article #1717Re: Rare C++ fout (std::map)
From: Aquila
Date: Wed, 15 Dec 2004 18:22
Date: Wed, 15 Dec 2004 18:22
27 lines
2010 bytes
2010 bytes
Suzan Foster <http://members.home.nl/foz/foaf.rdf> wrote:
>> PossibleState::PossibleState():
>>turning()
>> {}
>
> ongedefinieerde waarde in turning.
>
Een default constructor is nodig voor map indexering...
>> PossibleState::~PossibleState(){}
>> bool PossibleState::operator<(const PossibleState & state) const{
>>return�turning�!=�state.turning;
>> }
>
> deze slaat echt nergens op:
>
> true < false = true
> false < true = true
>
> welke is nou lager dan welke?
Aangepast maar het werkt nog niet (zie andere thread). Bedankt voor je
opmerkingen!
--
"May the source be with you"
Technical Details
Message-ID:
<-pOdnU32Jr2dHF3cRVnygQ@scarlet.biz>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mailReferences:
<ZJKdne45LpA4YyLcRVnyvA@scarlet.biz> <41c02cd1$0$65124$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,f50cab2f57916087 X-Google-Thread: 107324,f50cab2f57916087 X-Google-Attributes: gidfcea4,gid107324,public X-Google-Language: DUTCH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Wed, 15 Dec 2004 12:22:55 -0600 From: Aquila <braempje@netscape.net> Subject: Re: Rare C++ fout (std::map) Newsgroups: be.comp.programming,nl.comp.programmeren Followup-To: be.comp.programming Date: Wed, 15 Dec 2004 19:22:55 +0100 References: <ZJKdne45LpA4YyLcRVnyvA@scarlet.biz> <41c02cd1$0$65124$e4fe514c@news.xs4all.nl> User-Agent: KNode/0.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Message-ID: <-pOdnU32Jr2dHF3cRVnygQ@scarlet.biz> Lines: 27 NNTP-Posting-Host: 81.11.167.218 X-Trace: sv3-dRT+nReyt3R13PtiDldgvtqiJuPHTCChbbGI796JnRNgLOVRiCa8BrlkKNql+cMba/V/11wzpihupYo!uLAzogLXvBuUOQb0baimQ1e0vLhN/TMSJMIXVOwlLEIKfUg/UUoJOAfZzgW0UjTJqgN8RsI9dM0= X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.21