Pop the last element off a span, and return a reference to that element.
Synopsis
Declared in <span.h>
template<typename T>
T&
SpanPopBack(std::span<T>& span);
Return Value
A reference to the element that was last before the call.
Parameters
Name |
Description |
span |
The span to shrink; on return it refers to one fewer element. |
Created with MrDocs