語言

IRandomAccessContainer<TValue> 介面

定義

支援隨機存取迭代的容器介面。 實作隨機存取迭代的容器支援以下操作:呼叫前進一位置 operator++,呼叫後退一位置 operator--,使用指標運算存取元素 operator[],以及使用指標運算存取元素。

generic <typename TValue>
public interface class IRandomAccessContainer
public interface IRandomAccessContainer<TValue>
type IRandomAccessContainer<'Value> = interface
Public Interface IRandomAccessContainer(Of TValue)

類型參數

TValue

受控制序列中項目的類型。

衍生

方法

名稱 Description
at_bias(Int32)

取得元件時,元件位於容器目前的偏壓值。 偏壓是與當前元素零的偏移量。

valid_bias(Int32)

判斷某一偏置是否適用於容器。 偏壓是與當前元素零的偏移量。

適用於