19 static_assert(std::is_same_v<X::key_type, int>);
20 static_assert(std::is_same_v<X::mapped_type, example>);
21 static_assert(std::is_same_v<X::value_type, example>);
22 static_assert(std::is_same_v<X::hasher, kblib::FNV_hash<>>);
23 static_assert(std::is_same_v<X::key_equal, std::equal_to<>>);
TEST_CASE("intrusive_map")
Provides map types which directly use the members of the value type to create the map structure.
auto map(F f, T &&... t) noexcept(noexcept(std::tuple{ kblib::apply(f, std::forward< T >(t))...})) -> enable_if_t< not any_void< decltype(kblib::apply(f, std::forward< T >(t)))... >, decltype(std::tuple{kblib::apply(f, std::forward< T >(t))...})>
constexpr auto a(const std::initializer_list< T > &a) -> auto
Index an array literal without naming its type.