MCPcopy Create free account
hub / github.com/Tessil/ordered-map / operator()

Method operator()

tests/ordered_map_tests.cpp:1535–1538  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533 using is_transparent = std::true_type;
1534
1535 bool operator()(const std::unique_ptr<int>& p1,
1536 const std::unique_ptr<int>& p2) const {
1537 return p1 == p2;
1538 }
1539
1540 bool operator()(const std::unique_ptr<int>& p1, std::uintptr_t p2) const {
1541 return reinterpret_cast<std::uintptr_t>(p1.get()) == p2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected