#include <cassert>
#include <span>
Go to the source code of this file.
|  | 
| namespace | wpi | 
|  | Foonathan namespace. 
 | 
|  | 
|  | 
| template<typename T , size_t N> | 
| constexpr std::span< T > | wpi::drop_front (std::span< T, N > in, typename std::span< T >::size_type n=1) | 
|  | Drop the first Nelements of the array.
 | 
|  | 
| template<typename T , size_t N> | 
| constexpr std::span< T > | wpi::drop_back (std::span< T, N > in, typename std::span< T >::size_type n=1) | 
|  | Drop the last Nelements of the array.
 | 
|  | 
| template<typename T , size_t N> | 
| constexpr std::span< T > | wpi::take_front (std::span< T, N > in, typename std::span< T >::size_type n=1) | 
|  | Returns a span equal to inbut with only the firstnelements remaining.
 | 
|  | 
| template<typename T , size_t N> | 
| constexpr std::span< T > | wpi::take_back (std::span< T, N > in, typename std::span< T >::size_type n=1) | 
|  | Returns a span equal to inbut with only the lastnelements remaining.
 | 
|  |