Код: Выделить всё
if (x = any_of(1, 2 ,3)
// do something
Код: Выделить всё
bool any_of(InputIt first, InputIt last, UnaryPredicate)
Подробнее здесь: https://stackoverflow.com/questions/601 ... -stdany-of
Код: Выделить всё
if (x = any_of(1, 2 ,3)
// do something
Код: Выделить всё
bool any_of(InputIt first, InputIt last, UnaryPredicate)