This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/84056] map insertes a pair when check a value
- From: "alper.ccc at yandex dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jan 2018 08:04:12 +0000
- Subject: [Bug libstdc++/84056] map insertes a pair when check a value
- Auto-submitted: auto-generated
- References: <bug-84056-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84056
--- Comment #3 from Alper Ce <alper.ccc at yandex dot com> ---
(In reply to Marc Glisse from comment #2)
> Where is the bug? Did you read the documentation for operator[]?
I didn't assign anything to my_map(i didn't use assignment operator = ), i just
used == operator to check value of it.