function template
std::next
- Header
<iterator>- Scope
std- cppreference
- std::next
Synopsis
template<class InputIt>
constexpr InputIt next(
InputIt it,
iterator_traits<InputIt>::difference_type n = 1);function template
<iterator>stdtemplate<class InputIt>
constexpr InputIt next(
InputIt it,
iterator_traits<InputIt>::difference_type n = 1);