operator [] method

  1. @override
VecDMatch operator [](
  1. int idx
)
override

Returns a reference

Note: the memory of returned VecDMatch is owned by this VecVecDMatch, explicitly call VecDMatch.clone if the parent VecVecDMatch may be disposed.

Implementation

@override
VecDMatch operator [](int idx) =>
    VecDMatch.fromPointer(ccore.std_VecVecDMatch_get_p(ptr, idx), attach: false);