19
General utilities library
[utilities]
19.11
Smart pointers
[smartptr]
19.11.1
Class template
unique_ptr
[unique.ptr]
19.11.1.3
unique_ptr
for array objects with a runtime length
[unique.ptr.runtime]
19.11.1.3.3
Observers
[unique.ptr.runtime.observers]
🔗
T& operator[](size_t i) const;
1
#
Requires:
i <
the number of elements in the array to which the stored pointer points
.
2
#
Returns:
get()[i]
.