MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / key

Method key

Source/Utils/json.hpp:11513–11517  ·  view source on GitHub ↗

return the key of an object iterator

Source from the content-addressed store, hash-verified

11511
11512 /// return the key of an object iterator
11513 auto key() const -> decltype(std::declval<Base>().key())
11514 {
11515 auto it = --this->base();
11516 return it.key();
11517 }
11518
11519 /// return the value of an iterator
11520 reference value() const

Callers

nothing calls this directly

Calls 1

keyMethod · 0.45

Tested by

no test coverage detected