Skip to content

add `front` and `back` freestanding functions for gsl::span

Gerhard Raven requested to merge add-front-back-to-gsl-span into master

gsl::span has no front and back member functions, so we provide freestanding functions which can be found by ADL.

note: this is a temporary solution until we have a more current version of range-v3, which offers a range::span which does offer front and back member functions.

Merge request reports

Loading