xentara-utils v2.0.3
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::memory::MemoryRegion Concept Reference

A collection suitable as a memory region. More...

#include <xentara/utils/memory/Concepts.hpp>

Concept definition

template<typename Region, typename AlignmentType std::byte>
concept xentara::utils::memory::MemoryRegion = std::ranges::contiguous_range<Region> && MemoryElement<std::ranges::range_value_t<Region>, AlignmentType>
An element in a memory region.
Definition Concepts.hpp:15
A collection suitable as a memory region.
Definition Concepts.hpp:28

Detailed Description

A collection suitable as a memory region.

Template Parameters
AlignmentTypeA type that specifies the size and alignment of the elements stored in the memory region