Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::ArrayConcept Concept Reference

A concept representing a generic N-dimensional array. More...

#include <vclib/space/core/array.h>

Concept definition

template<typename T>
concept vcl::ArrayConcept = std::derived_from<
std::remove_cvref_t<T>,
Array<typename RemoveRef<T>::ValueType, RemoveRef<T>::DIM>>
A concept representing a generic N-dimensional array.
Definition array.h:699

Detailed Description

A concept representing a generic N-dimensional array.

The concept is satisfied when T is a class that instantiates or derives from an Array class having any number of dimensions and any value type.

Template Parameters
TThe type to be tested for conformity to the ArrayConcept.