MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / create_unordered_map_with

Function create_unordered_map_with

include/fplus/maps.hpp:259–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257// create_unordered_map_with(show, [1,2]) == {1: "1", 2: "2"}
258template <typename ContainerIn, typename F>
259auto create_unordered_map_with(F f, const ContainerIn& keys)
260{
261 return create_unordered_map(keys, transform(f, keys));
262}
263
264// API search type: create_unordered_map_grouped : ((val -> key), [val]) -> Map key val
265// fwd bind count: 1

Callers 1

maps_test.cppFile · 0.50

Calls 2

create_unordered_mapFunction · 0.70
transformFunction · 0.70

Tested by

no test coverage detected