31 :
public std::pair<size_t, T>
34 typedef std::pair<size_t, T> super;
IndexPair()
Default Constructor.
IndexPair(const IndexPair< U > &&obj)
Move Constructor.
auto getValue() -> T &
Get reference of value.
IndexPair(size_t index, const T &val)
Construct from members.
IndexPair(const IndexPair< U > &obj)
Copy Constructor.
A pair of index and its value(T)
auto getValue() const -> const T &
Get const reference of const value.
auto get_index() const -> size_t
Get index.