template<typename T>
atlas::array::VectorView class

Constructors, destructors, conversion operators

VectorView()
VectorView(Vector<T> const& vector, T* data)

Public functions

auto operator[](idx_t idx) -> T&
auto operator[](idx_t idx) const -> T const &
auto base() -> T
auto size() const -> idx_t
auto is_valid(Vector<T>& vector) -> bool

Public variables

Vector<T> const * vector_
T* data_
idx_t size_