18#ifndef IteratorPair_h__
19#define IteratorPair_h__
30 template<
class iterator,
class end_iterator = iterator>
47 template<
typename iterator,
class end_iterator = iterator>
50 return { first, second };
53 template<
typename iterator,
class end_iterator = iterator>
Utility class to enable range for loop syntax for multimap.equal_range uses.
constexpr IteratorPair(std::pair< iterator, end_iterator > iterators)
constexpr IteratorPair(iterator first, end_iterator second)
constexpr end_iterator end() const
constexpr iterator begin() const
std::pair< iterator, end_iterator > _iterators
auto MapEqualRange(M &map, typename M::key_type const &key)
constexpr IteratorPair< iterator, end_iterator > MakeIteratorPair(iterator first, end_iterator second)