How to check that an element is in a std::set?

he typical way to check for existence in many STL containers such as std::mapstd::set, … is:

const bool is_in = container.find(element) != container.end();

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)