pstore2
Classes | Public Member Functions | List of all members
pstore::sparse_array< ValueType, BitmapType >::indices Class Reference

Classes

class  const_iterator
 

Public Member Functions

constexpr indices (sparse_array const &arr) noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr unsigned front () const noexcept
 Returns the index of the first element in the container. More...
 
constexpr unsigned back () const noexcept
 Returns the index of the last element in the container. More...
 

Member Function Documentation

◆ back()

template<typename ValueType, typename BitmapType = std::uint64_t>
constexpr unsigned pstore::sparse_array< ValueType, BitmapType >::indices::back ( ) const
inlinenoexcept

Returns the index of the last element in the container.

This is the largest value that can be passed to operator[]. There must be at least one element in the container.

◆ front()

template<typename ValueType, typename BitmapType = std::uint64_t>
constexpr unsigned pstore::sparse_array< ValueType, BitmapType >::indices::front ( ) const
inlinenoexcept

Returns the index of the first element in the container.

This is the smallest value that can be passed to operator[]. There must be at least one element in the container.


The documentation for this class was generated from the following file: