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

Function get_position

lesson6-Segmentation/json.hpp:7311–7314  ·  view source on GitHub ↗

return position of last read token

Source from the content-addressed store, hash-verified

7309
7310 /// return position of last read token
7311 constexpr position_t get_position() const noexcept
7312 {
7313 return position;
7314 }
7315
7316 /// return the last read token (for errors only). Will never contain EOF
7317 /// (an arbitrary value that is not a valid char value, often -1), because

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected