Visual Computing Library
All Classes Functions Variables Typedefs Enumerations Friends Modules Pages Concepts
vcl::comp::HasIndicesOfType Concept Reference

The HasIndicesOfType concept checks whether a component T stores indices of a type (element) R. More...

Concept definition

template<typename T, typename R>
concept vcl::comp::HasIndicesOfType = HasReferencesOfType<T, R> && requires (T&& obj) {
obj.template indices<RemoveRef<R>>();
}
The HasIndicesOfType concept checks whether a component T stores indices of a type (element) R.
Definition component.h:209
The HasReferencesOfType concept checks whether a component T stores references (pointers or indices) ...
Definition component.h:152

Detailed Description

The HasIndicesOfType concept checks whether a component T stores indices of a type (element) R.

The constraints are the same of vcl::comp::HasReferencesOfType, but this concept requires the component stores only indices (not pointers).

Template Parameters
Tthe type to be evaluated.
Rthe type of the indices.