This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/84056] map insertes a pair when check a value


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]