DataStream::operator[]

Return a reference to the unread element at pos.

Synopsis

Declared in <streams.h>

reference
operator[](size_type pos);

Return Value

A reference to the unread element at pos.

Parameters

NameDescription
posIndex of the unread element, relative to the read position.