std::map find_if condition style confusion

前端 未结 8 1076
星月不相逢
星月不相逢 2021-02-01 23:43

I\'d like to use std::find_if to search for the first element in my map that has a certain value in a specific element of its value structure. I\'m a little confus

8条回答
  •  猫巷女王i
    2021-02-02 00:12

    If you want to search also in values then may be better to use Boost Bimap in order not to be slow?

提交回复
热议问题