operator [] method

SubstratePathElem operator [](
  1. int idx
)

Retrieves a path element at the specified index.

Implementation

SubstratePathElem operator [](int idx) {
  return elems[idx];
}