#include "cpp_apigen_demo/array.h"
T cpp_apigen_demo::Array<T, Rank>::operator[](int index)
  requires
(Rank == 1)
;
T cpp_apigen_demo::Array<T, Rank>::operator[](
    std
::array<int, Rank> index
)
;

Returns the element at the specified index or index vector.

Parameters:
int index
std::array<int, Rank> index

The index vector, or an integer index in the case that Rank == 1.


Last update: Nov 15, 2022