vector::back
vector::back
reference back();
const_reference back() const;
The member function returns a reference to the last element of the controlled sequence, which must be non-empty.
See the related sample program.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
vector::back
reference back();
const_reference back() const;
The member function returns a reference to the last element of the controlled sequence, which must be non-empty.
See the related sample program.