MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / extract

Method extract

include/hipSYCL/common/unordered_dense.hpp:1413–1415  ·  view source on GitHub ↗

nonstandard API: *this is emptied. Also see "A Standard flat_map" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0429r9.pdf

Source from the content-addressed store, hash-verified

1411 // nonstandard API: *this is emptied.
1412 // Also see "A Standard flat_map" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0429r9.pdf
1413 auto extract() && -> value_container_type {
1414 return std::move(m_values);
1415 }
1416
1417 // nonstandard API:
1418 // Discards the internally held container and replaces it with the one passed. Erases non-unique elements.

Callers 1

raw_freeMethod · 0.80

Calls 4

cbeginFunction · 0.85
beginFunction · 0.85
moveFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected