Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
array::front (2 of 3 overloads)

Access the first element.

Synopsis
value&&
front() && noexcept;
Description

Returns a reference to the first element.

Precondition

not empty()

Complexity

Constant.


PrevUpHomeNext