alias ConstStrings = const(string)[]; alias UnqualStrings = UnqualArray!ConstStrings; static assert(is(UnqualStrings == string[])); alias ImmChars = string; alias UnqualChars = UnqualArray!ImmChars; static assert(is(UnqualChars == char[])); alias InoutBools = inout(bool)[]; alias UnqualBools = UnqualArray!InoutBools; static assert(is(UnqualBools == bool[])); alias ConstChars = const(char)[]; alias UnqualChars2 = UnqualArray!ConstChars; static assert(is(UnqualChars2 == char[]));
Given an array of qualified elements, aliases itself to one such of unqualified elements.