ChessPlusPlus  WIP
cplusplus.com Community Project
std Namespace Reference

Functions

template<typename Iter , typename = typename iterator_traits<Iter>::iterator_category>
Iter begin (pair< Iter, Iter > const &p)
 
template<typename Iter , typename = typename iterator_traits<Iter>::iterator_category>
Iter end (pair< Iter, Iter > const &p)
 

Function Documentation

template<typename Iter , typename = typename iterator_traits<Iter>::iterator_category>
Iter std::begin ( pair< Iter, Iter > const &  p)

Allows iterating over the return value of equal_range().

Template Parameters
Iterthe iterator type, to be decuded by the compiler.
Parameters
pthe return value of equal_range().
template<typename Iter , typename = typename iterator_traits<Iter>::iterator_category>
Iter std::end ( pair< Iter, Iter > const &  p)

Allows iterating over the return value of equal_range().

Template Parameters
Iterthe iterator type, to be decuded by the compiler.
Parameters
pthe return value of equal_range().