Article View: pl.comp.lang.c
Article #308692Re: Szukanie w unordered_map potrzebuje operatora == a on jest
From: Borneq
Date: Mon, 13 Jun 2016 10:41
Date: Mon, 13 Jun 2016 10:41
7 lines
1070 bytes
1070 bytes
W dniu 13.06.2016 o 12:08, Borneq pisze:
> bool operator == (const inputTx_s& rhs)
> {
> return cmp(rhs) == 0;
> }
Już wiem! operator jest , tylko musi być const
Technical Details
Message-ID:
<njm2kl$d3t$5@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<njm0n9$can$1@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Szukanie w unordered_map potrzebuje operatora == a on jest Date: Mon, 13 Jun 2016 12:41:25 +0200 Organization: ATMAN - ATM S.A. Lines: 8 Message-ID: <njm2kl$d3t$5@node2.news.atman.pl> References: <njm0n9$can$1@node2.news.atman.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1465814485 13437 91.239.205.105 (13 Jun 2016 10:41:25 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Mon, 13 Jun 2016 10:41:25 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 In-Reply-To: <njm0n9$can$1@node2.news.atman.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit