Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
array::front (3 of 3 overloads)

Access the first element.

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

Returns a reference to the first element.

Precondition

not empty()

Complexity

Constant.


PrevUpHomeNext