Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
vector::front
reference front();
const_reference front() const;
The member function returns a reference to the first element of the controlled sequence, which must be non-empty.
See the related sample program.