std::{{{1}}}::front
From cppreference.com
Template:cpp/container//sidebar Template:ddcl list begin <tr class="t-dcl ">
<td >reference front();
</td>
<td class="t-dcl-nopad"> </td> <td > Template:cpp/container/mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td >const_reference front() 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 first element in the container.
Parameters
Return value
reference to the first element