Ref2 method

Pointer<T> Ref2([
  1. X? o
])

Writes o into slot '2' and returns its pointer.

Shorthand for Value(o, '2'). Use RefOrNull2 if o may be null and the callee expects nullptr in that case..

Implementation

Pointer<T> Ref2([X? o]) => Value(o, '2');