MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / cardinality

Method cardinality

unittests/catch.hpp:6066–6071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6064 }
6065
6066 auto cardinality() const -> size_t override {
6067 if( m_ref->isContainer() )
6068 return 0;
6069 else
6070 return 1;
6071 }
6072
6073 auto hint() const -> std::string { return m_hint; }
6074 };

Callers

nothing calls this directly

Calls 1

isContainerMethod · 0.45

Tested by

no test coverage detected