MCPcopy Create free account
hub / github.com/BowenFu/matchit.cpp / index

Method index

sample/Predicate-based-Discriminator.cpp:26–26  ·  view source on GitHub ↗

Predicate-based discriminator derived from `size`.

Source from the content-addressed store, hash-verified

24
25 // Predicate-based discriminator derived from `size`.
26 Storage index() const { return size > sizeof(local) ? Remote : Local; }
27
28 // Opt into Variant-Like protocol.
29 template <Storage S>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected