[#DataStream-operator_subs-06] = xref:DataStream.adoc[DataStream]::operator[] :relfileprefix: ../ :mrdocs: Return a reference to the unread element at `pos`. == Synopsis Declared in `<streams.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:DataStream/reference.adoc[reference] operator[](xref:DataStream/size_type.adoc[size_type] pos); ---- == Return Value A reference to the unread element at `pos`. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | Index of the unread element, relative to the read position. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#