MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / key

Method key

lesson6-Segmentation/json.hpp:11515–11519  ·  view source on GitHub ↗

return the key of an object iterator

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

keyMethod · 0.45

Tested by

no test coverage detected