MCPcopy Create free account
hub / github.com/Genivia/ugrep / eof

Method eof

include/reflex/input.h:1024–1028  ·  view source on GitHub ↗

Check if input reached EOF.

Source from the content-addressed store, hash-verified

1022 }
1023 /// Check if input reached EOF.
1024 bool eof()
1025 /// @returns true if input is at EOF and no characters are available
1026 {
1027 return pos_ >= len_ && Input::eof();
1028 }
1029 /// Peek a single character (unsigned char 0..255) or EOF (-1) when end-of-input is reached.
1030 int peek()
1031 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected