MCPcopy Create free account
hub / github.com/catboost/catboost / ToForwardIterator

Function ToForwardIterator

util/generic/iterator.h:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 */
138template <class TIterator>
139auto ToForwardIterator(TIterator iter) {
140 return std::next(iter).base();
141}
142
143template <class T>
144constexpr inline size_t NonNegativeDistance(T* b, T* e) noexcept {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 2

nextFunction · 0.50
baseMethod · 0.45

Tested by

no test coverage detected