Luna::Vector::back
Vector< _Ty, _Alloc >::const_reference back() const
Gets the element at the back of the vector.
The back element is the element with index size() - 1
.
Return value
Returns one constant reference to the back element of the vector.
Valid Usage
- empty must be
false
when calling this function.