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

Name

Description

pos

Index of the unread element, relative to the read position.

Created with MrDocs