MCPcopy Create free account
hub / github.com/boostorg/parser / distance

Function distance

include/boost/parser/detail/text/algorithm.hpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 namespace detail {
23 template<typename Iter>
24 std::ptrdiff_t distance(Iter first, Iter last, non_sentinel_tag)
25 {
26 return std::distance(first, last);
27 }
28
29 template<typename Iter, typename Sentinel>
30 std::ptrdiff_t distance(Iter first, Sentinel last, sentinel_tag)

Callers 5

error_handling.hppFile · 0.85
parseMethod · 0.85
decrementFunction · 0.85
readFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected