MCPcopy Create free account
hub / github.com/Huntereb/Awoo-Installer / get_character

Method get_character

include/util/json.hpp:6615–6625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6613 {}
6614
6615 typename char_traits<char_type>::int_type get_character()
6616 {
6617 if (JSON_HEDLEY_LIKELY(current != end))
6618 {
6619 auto result = char_traits<char_type>::to_int_type(*current);
6620 std::advance(current, 1);
6621 return result;
6622 }
6623
6624 return char_traits<char_type>::eof();
6625 }
6626
6627 // for general iterators, we cannot really do something better than falling back to processing the range one-by-one
6628 template<class T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected