WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
rotated_span.hpp File Reference
#include <array>
#include <cstddef>
#include <iterator>
#include <span>
#include <type_traits>

Go to the source code of this file.

Classes

class  wpi::util::rotated_span< T, Extent >
 This is a simple rotated span view. More...
class  wpi::util::rotated_span< T, Extent >::iterator

Namespaces

namespace  wpi
namespace  wpi::util

Functions

template<typename Type, size_t ArrayExtent>
 wpi::util::rotated_span (Type(&)[ArrayExtent]) -> rotated_span< Type, ArrayExtent >
template<typename Type, size_t ArrayExtent>
 wpi::util::rotated_span (std::array< Type, ArrayExtent > &) -> rotated_span< Type, ArrayExtent >
template<std::contiguous_iterator It, typename End>
 wpi::util::rotated_span (It, End) -> rotated_span< std::remove_reference_t< std::iter_reference_t< It > > >
template<typename Type, size_t Extent>
rotated_span< const std::byte, Extent==std::dynamic_extent ? std::dynamic_extent :Extent *sizeof(Type)> wpi::util::as_bytes (rotated_span< Type, Extent > sp) noexcept
template<typename Type, size_t Extent>
requires (!std::is_const_v<Type>)
rotated_span< std::byte, Extent==std::dynamic_extent ? std::dynamic_extent :Extent *sizeof(Type)> wpi::util::as_writable_bytes (rotated_span< Type, Extent > sp) noexcept