WPILibC++ 2023.4.3
SpanExtras.h File Reference
#include <cassert>
#include <span>

Go to the source code of this file.

Namespaces

namespace  wpi
 /file This file defines the SmallVector class.
 

Functions

template<typename T >
constexpr std::span< T > wpi::drop_front (std::span< T > in, typename std::span< T >::size_type n=1)
 Drop the first N elements of the array. More...
 
template<typename T >
constexpr std::span< T > wpi::drop_back (std::span< T > in, typename std::span< T >::size_type n=1)
 Drop the last N elements of the array. More...