Redigera

Dela via


IRandomAccessContainer<TValue> Interface

Definition

Interface for a container that supports random access iteration. Containers that implement random access iteration support the following operations: moving forward one position by calling operator++, moving backward one position by calling operator--, accessing an element by using operator[], and accessing an element by using pointer arithmetic.

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

Type Parameters

TValue

The type of an element in the controlled sequence.

Derived

Methods

at_bias(Int32)

Gets the element at the current bias of the container. The bias is the offset from the current element zero.

valid_bias(Int32)

Determines if a given bias is valid for the container. The bias is the offset from the current element zero.

Applies to