IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
span.hxx File Reference

Go to the source code of this file.

Classes

struct  ice::Span< Type >
 A view into an array of objects laid out in contiguous memory. More...

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::data

Functions

template<typename T>
 ice::Span (ice::Span< T > &&) noexcept -> Span< T >
template<typename T>
 ice::Span (ice::Span< T > const &) noexcept -> Span< T >
template<typename T, ContainerLogic Logic, template< typename, ContainerLogic > typename Container>
 ice::Span (Container< T, Logic > const &) noexcept -> Span< T >
template<typename T, ice::u64 Size>
 ice::Span (T(&)[Size]) noexcept -> Span< T >
template<typename Type, size_t Size>
static constexpr auto ice::make_span (std::array< Type, Size > &std_array) noexcept -> Span< Type >
template<typename Type, size_t Size>
static constexpr auto ice::make_span (std::array< Type, Size > const &std_array) noexcept -> Span< Type const >
template<typename Type, size_t Size>
constexpr auto ice::make_span (std::array< Type, Size > &std_array) noexcept -> Span< Type >
template<typename Type, size_t Size>
constexpr auto ice::make_span (std::array< Type, Size > const &std_array) noexcept -> Span< Type const >
template<typename T>
requires (std::is_trivially_copyable_v<T> && !std::is_pointer_v<T>)
auto ice::data::read_span (ice::Data source, ice::ncount count, ice::Span< T const > &out_value) noexcept -> ice::Data