XLL+ Class Library (7.0)

CXlArrayContainer<T>::at

Returns a reference to the cell at the requested position or coordinates

const T& at(
   size_t n
);
const T& at(
   size_t r,
   size_t c
);

Parameters

n

Zero-based position of cell within array, counting row-wise.

r

Zero-based ordinal of row within array.

c

Zero-based ordinal of column within array.

Return Value

Returns a reference to the contained cell if within range. In the debug build only, throws an exception if the coordinates or position are out of range.

Requirements

Header: xlpfastit.h

See Also

CXlArrayContainer<T> Class | CXlArrayContainer<T> Methods