Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::index_dereferencable Concept Reference

Determines whether a type can be used in operator [] expressions. More...

#include <operators.hpp>

Concept definition

template<class T, class TIndex>
concept sl::concepts::index_dereferencable = requires(T t, TIndex i) { t[i]; }
Determines whether a type can be used in operator [] expressions.
Definition: operators.hpp:764

Detailed Description

Determines whether a type can be used in operator [] expressions.

Template Parameters
TThe type to check
TIndexThe index type