12#ifndef RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
13#define RTCTK_COMPONENTFRAMEWORK_RECORDINGTYPETRAITS_HPP
30template <
typename T,
size_t Size>
32 using TYPE = gsl::span<T, static_cast<decltype(gsl::dynamic_extent)>(Size)>;
35template <
typename T,
size_t Size>
37 using TYPE = gsl::span<const T, static_cast<decltype(gsl::dynamic_extent)>(Size)>;
40template <
typename T,
typename Allocator>
45template <
typename T,
typename Allocator>
59 conjunction<IsSpanType<T>, IsDynamicSpanType<T>, IsVectorType<T>, IsMatrixBufferType<T>> {
A buffer class representing 2D matrix data.
Definition matrixBuffer.hpp:28
Declaration of the MatrixBuffer template class used in APIs.
Definition commandReplier.cpp:22
typename AsSpan< T >::TYPE AsSpanT
Definition recordingTypeTraits.hpp:51
constexpr bool IS_SPAN_CONVERTIBLE
Small helper alias for IsSpanConvertible.
Definition recordingTypeTraits.hpp:66
Definition ddsSub.hpp:156
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:47
gsl::span< const T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:37
gsl::span< T, static_cast< decltype(gsl::dynamic_extent)>(Size)> TYPE
Definition recordingTypeTraits.hpp:32
gsl::span< T > TYPE
Definition recordingTypeTraits.hpp:42
Gets the span type for converting type T to a span.
Definition recordingTypeTraits.hpp:28
Type trait to check if a type can be converted to a Span using AsSpan/ToSpan.
Definition recordingTypeTraits.hpp:59
Provides useful mechanisms to test various type traits.