MCPcopy Create free account
hub / github.com/ThePhD/sol2 / custom_reader

Method custom_reader

examples/source/custom_reader.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 std::size_t read_count;
20
21 custom_reader(FILE* f_)
22 : f(f_), buffer(), current_size(0), read_count(0) {
23 }
24
25 bool read() {
26 std::cout << "custom read: read #" << ++read_count

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected