astl
Version:
AssemblyScript-STL (Standard Template Library, migrated from the C++)
9 lines (8 loc) • 407 B
text/typescript
import { IForwardContainer } from "./IForwardContainer";
import { IPointer } from "../../functional/IPointer";
import { IRandomAccessIterator } from "../../iterator/IRandomAccessIterator";
export declare interface IRandomAccessContainer<IteratorT extends IRandomAccessIterator<IPointer.ValueType<IteratorT>, IteratorT>>
extends IForwardContainer<IteratorT>
{
nth(index: usize): IteratorT;
}