11 #include <type_traits> 26 using value_type =
typename std::iterator_traits<iterator>::value_type;
27 using pointer =
typename std::iterator_traits<iterator>::pointer;
28 using reference =
typename std::iterator_traits<iterator>::reference;
67 return static_cast<size_t>(std::distance(
begin(),
end()));
77 template <
typename Iterator>
82 template <
typename Container>
const_iterator begin() const
typename std::iterator_traits< iterator >::difference_type difference_type
const_iterator cbegin() const
This file contains definitions of common data structures used in traffic manager. ...
typename std::add_const< IT >::type const_iterator
#define DEBUG_ASSERT(predicate)
const_iterator cend() const
typename std::iterator_traits< iterator >::reference reference
A view over a range of elements in a container.
const_iterator end() const
typename std::iterator_traits< iterator >::pointer pointer
ListView & operator=(const ListView &)=delete
ListView(iterator begin, iterator end)
static auto MakeListView(Iterator begin, Iterator end)
typename std::iterator_traits< iterator >::value_type value_type