DataStream::operator[]

Return a const reference to the unread element at pos.

Synopsis

Declared in <streams.h>

const_reference
operator[](size_type pos) const;

Return Value

A const reference to the unread element at pos.

Parameters

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