MCPcopy Create free account
hub / github.com/LAStools/LAStools / get_character

Method get_character

src/json.hpp:6290–6300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6288 {}
6289
6290 typename char_traits<char_type>::int_type get_character()
6291 {
6292 if (JSON_HEDLEY_LIKELY(current != end))
6293 {
6294 auto result = char_traits<char_type>::to_int_type(*current);
6295 std::advance(current, 1);
6296 return result;
6297 }
6298
6299 return char_traits<char_type>::eof();
6300 }
6301
6302 private:
6303 IteratorType current;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected