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

Concept for types that can be used as indices. More...

#include <vclib/concepts/types.h>

Concept definition

template<typename T>
concept vcl::IntegralOrEnum = std::integral<T> || std::is_enum_v<T>
Concept for types that can be used as indices.
Definition types.h:38

Detailed Description

Concept for types that can be used as indices.

This concept is evaluated true if T is an integral type or an enum type.