60 using HashFunctor = _HashFunctor<N, T>;
61 using container_type = std::array<T, N>;
62 using iterator =
typename container_type::iterator;
63 using const_iterator =
typename container_type::const_iterator;
64 using Self = HashSet<N, T, _HashFunctor, OFFSET>;
84 PONCA_MULTIARCH [[nodiscard]]
inline bool search(T _value, T& _searchedIdx)
const;
87 constexpr PONCA_MULTIARCH HashSet() : m_data() {}
110 PONCA_MULTIARCH std::pair<typename Self::iterator, bool>
insert(
const T& _value);
117 PONCA_MULTIARCH [[nodiscard]]
bool contains(T _value)
const;
121 PONCA_MULTIARCH [[nodiscard]]
inline Self::const_iterator
cbegin()
const;
124 PONCA_MULTIARCH [[nodiscard]]
inline Self::const_iterator
cend()
const;
127 PONCA_MULTIARCH [[nodiscard]]
inline Self::iterator
begin();
130 PONCA_MULTIARCH [[nodiscard]]
inline Self::iterator
end();
133 container_type m_data{};