Index concepts (details)

Table of Contents

Index

template<typename Idx>
concept Index
  1. Refines the template <typename T> Integral concept.

Valid Expressions

All expressions valid with the following C++ integral types :
  • bool
  • char
  • unsigned char
  • char16_t
  • char32_t
  • wchar_t
  • unsigned wchar_t
  • short
  • unsigned short
  • int
  • unsigned int
  • long
  • unsigned long
  • long long
  • unsigned long long
  • or any implementation-defined extended integer types, including any signed, unsigned, and cv-qualified variants.

Possible implementation

template<typename Idx>
concept Index = Integral<Idx>;