VCTR
Loading...
Searching...
No Matches
vctr::has::constIndexOperator Concept Reference

Constrains a type to have a const operator[] overload taking a size_t argument. More...

Concept definition

template<class T>
concept vctr::has::constIndexOperator = requires (const T& t) { t[size_t()]; }
Constrains a type to have a const operator[] overload taking a size_t argument.
Definition: ContainerAndExpressionConcepts.h:90

Detailed Description

Constrains a type to have a const operator[] overload taking a size_t argument.