Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
array::front (2 of 2 overloads)

Access the first element.

Synopsis
value const&
front() const;
Description

Returns a reference to the first element.

Precondition

not empty()

Complexity

Constant.


PrevUpHomeNext