1 #ifndef TIL_ACCESSORS_H_ 2 #define TIL_ACCESSORS_H_ 27 template <
typename TCollection,
typename TIndex = std::
size_t >
44 const_reference
operator()(index_type i)
const {
return m_data[i]; }
70 template <
typename TIterator >
Integer_access(TCollection &data)
const_reference operator()(index_type i) const
TIterator::value_type value_type
Belongs to package Box Do not include directly, include til/Box.h instead.
Integer access over a random-access container.
Return value pointed at by an iterator.
TCollection::reference reference
TCollection::const_reference const_reference
TCollection::value_type value_type
reference operator()(index_type i)
value_type & operator()(index_type i) const