#include <array>
#include <cstddef>
#include <iterator>
#include <span>
#include <type_traits>
Go to the source code of this file.
|
namespace | wpi |
| Foonathan namespace.
|
|
|
template<typename Type , size_t ArrayExtent> |
| wpi::rotated_span (Type(&)[ArrayExtent]) -> rotated_span< Type, ArrayExtent > |
|
template<typename Type , size_t ArrayExtent> |
| wpi::rotated_span (std::array< Type, ArrayExtent > &) -> rotated_span< Type, ArrayExtent > |
|
template<std::contiguous_iterator It, typename End > |
| wpi::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::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::as_writable_bytes (rotated_span< Type, Extent > sp) noexcept |
|