Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
array::front (1 of 2 overloads)

Access the first element.

Synopsis
value&
front();
Description

Returns a reference to the first element.

Precondition

not empty()

Complexity

Constant.


PrevUpHomeNext