News for hackers. Stuff that matters.
Re:C++17 creates a practical use of the backward array index... by PaulDavisThe1st on Monday April 03, 2023 @05:09PM (#35431327)

  std::map::find (item) != map.end()  <=> std::map::contain (item)
Re:C++17 creates a practical use of the backward array index... by zimpenfish on Tuesday April 04, 2023 @04:05AM (#35436520)
I think the problem is that with `std::map::find(item)` you get the value back but you don't with `std::map::contain(item)` - which means a second lookup to actually retrieve the value, no?