operator []

[] 運算子會傳回指定位置的元素。

可見性
Public
簽章
void * operator[](int i)
const void * operator[](int i) const
參數
I

要傳回之元素的索引

傳回

指定索引處的元素,如果您選取超出範圍的值,則為 NULL


回饋