Class vector_index_vector (o2scl)

O2scl : Class List

template<class data_t>
class vector_index_vector

Trivial index vector.

This object just returns the index whenever an object in the vector is requested, i.e. operator[](i) always returns i.

9/16/24: This function is used in acol_manager::comm_create to create o2scl::table objects.

Public Functions

inline data_t operator[](size_t i) const