isIndexableBy

Check if R is indexable by a automatically R-local defined integer type named I.

  1. eponymoustemplate isIndexableBy(R, I)
  2. eponymoustemplate isIndexableBy(R, alias I)
    enum isIndexableBy (
    R
    )

Examples

static assert(isIndexableBy!(int[], "I"));

Meta