3 #include <initializer_list>
9 template <
typename T,
typename U>
12 has(std::initializer_list<T> s,
const U& e)
14 return std::find(begin(s), end(s), e) != std::end(s);
ATTRIBUTE_PURE bool has(const boost::container::flat_set< Key, Compare, Allocator > &s, const Key &e)
Whether e is member of s.