Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
138
template <class TIterator>
139
auto ToForwardIterator(TIterator iter) {
140
return std::next(iter).base();
141
}
142
143
template <class T>
144
constexpr inline size_t NonNegativeDistance(T* b, T* e) noexcept {
Callers
1
Y_UNIT_TEST
Function · 0.85
Calls
2
next
Function · 0.50
base
Method · 0.45
Tested by
no test coverage detected