11#ifndef RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
12#define RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
29template <
typename T,
size_t Size>
31 using TYPE = gsl::span<T, static_cast<decltype(gsl::dynamic_extent)>(Size)>;
34template <
typename T,
size_t Size>
36 using TYPE = gsl::span<const T, static_cast<decltype(gsl::dynamic_extent)>(Size)>;
39template <
typename T,
typename Allocator>
44template <
typename T,
typename Allocator>
58 conjunction<IsSpanType<T>, IsDynamicSpanType<T>, IsVectorType<T>, IsMatrixBufferType<T>> {
A buffer class representing 2D matrix data.
Definition matrixBuffer.hpp:27
Declaration of the MatrixBuffer template class used in APIs.
Definition commandReplier.cpp:21
typename AsSpan< T >::TYPE AsSpanT
Definition recordingTypeTraits.hpp:50
constexpr bool IS_SPAN_CONVERTIBLE
Small helper alias for IsSpanConvertible.
Definition recordingTypeTraits.hpp:65
Definition ddsSub.hpp:155
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:46
gsl::span< const T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:36
gsl::span< T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:31
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:41
Gets the span type for converting type T to a span.
Definition recordingTypeTraits.hpp:27
Type trait to check if a type can be converted to a Span using AsSpan/ToSpan.
Definition recordingTypeTraits.hpp:58
Provides useful mechanisms to test various type traits.