4 #include <initializer_list>
10 template <
typename T,
typename U>
13 has(std::initializer_list<T> s,
const U& e)
15 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.