![]() |
![]()
| ![]() |
![]()
NAMEstd::span::front - std::span::front Synopsisconstexpr reference front() const;
Parameters(none) Return valueA reference to the first element. ComplexityConstant NotesFor a span c, the expression c.front() is equivalent to *c.begin(). Example// Run this code
Output:0 1 2 3 See also back access the last element
|