Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Types | List of all members
uni20::span_offset_type< AP, typename > Struct Template Reference

Trait to pull an AccessorPolicy’s offset_type if present, or fall back to std::size_t otherwise. More...

#include <concepts.hpp>

Public Types

using type = std::size_t
 The resulting offset type (std::size_t by default).
 

Detailed Description

template<typename AP, typename = void>
struct uni20::span_offset_type< AP, typename >

Trait to pull an AccessorPolicy’s offset_type if present, or fall back to std::size_t otherwise.

Note
This is an extension to the standard mdspan AccessorPolicy.

The documentation for this struct was generated from the following file: