[#SpanPopBack]
= SpanPopBack
:mrdocs:

Pop the last element off a span, and return a reference to that element&period;

== Synopsis

Declared in `&lt;span&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
T&
SpanPopBack(std::span&lt;T&gt;& span);
----

== Return Value

A reference to the element that was last before the call&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *span*
| The span to shrink&semi; on return it refers to one fewer element&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
