[unique.ptr.runtime.observers] (original) (raw)
20 General utilities library [utilities]
20.11 Smart pointers [smartptr]
20.11.1 Class template unique_Âptr [unique.ptr]
20.11.1.3 unique_Âptr for array objects with a runtime length [unique.ptr.runtime]
20.11.1.3.3 Observers [unique.ptr.runtime.observers]
T& operator[](size_t i) const;
Preconditions: the number of elements in the array to which the stored pointer points.
Returns: get()[i].