Namespaces
Variants
Views
Actions

std::{{{1}}}::back

From cppreference.com
Revision as of 17:50, 2 August 2011 by P12bot (Talk | contribs)

Template:cpp/container//sidebar Template:ddcl list begin <tr class="t-dcl ">

<td >
reference back();
</td>

<td class="t-dcl-nopad"> </td> <td > Template:cpp/container/mark c++0x feature </td> </tr> <tr class="t-dcl ">

<td >
const_reference back() const;
</td>

<td class="t-dcl-nopad"> </td> <td > Template:cpp/container/mark c++0x feature </td> </tr> Template:ddcl list end

Returns reference to the last element in the container.

Parameters

Template:param none

Return value

reference to the last element

Template:complex Template:complex constant

Template:see also

Template:cpp/container/dcl list front