I need to compare one given value with a retrieved values. I do this several times in the code. I am not satisfied with how it looks and I am seeking for a some sort of an util
std::find_first_of.
std::find_first_of
Of course, if you only care about finding a single value, you can create your own wrapper around std::find.
std::find