MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / range_length

Function range_length

include/stringzilla/stringzilla.hpp:1505–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503/** @brief Helper function using `range_length` to compute the unsigned distance. */
1504template <typename iterator_type>
1505std::size_t range_length(iterator_type first, iterator_type last) {
1506 return static_cast<std::size_t>(std::distance(first, last));
1507}
1508
1509#pragma endregion
1510

Callers 2

insertMethod · 0.85
basic_stringClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…