Stroika Library 3.0d18
 
Loading...
Searching...
No Matches
Stroika::Foundation::Memory::ISpan Concept Reference

#include <Common.h>

Concept definition

template<typename SPAN_T>
concept Stroika::Foundation::Memory::ISpan = requires (SPAN_T t) {
{
[]<typename T1, size_t E1> (span<T1, E1>) {}(t)
};
}

Detailed Description

For when you want to assert an argument is a SPAN, but you haven't yet deduced the type its a span of yet.

Note
matches span<T>, span<T,EXTENT>, span<const T>, span<const T,EXTENT>, but not things that are CONVERTIBLE to span<T>

Definition at line 43 of file Foundation/Memory/Common.h.