[phobos] phobos commit, revision 2123

dsource.org noreply at dsource.org
Fri Nov 5 05:12:58 PDT 2010


phobos commit, revision 2123


user: kyllingstad

msg:
Bug 5163: meaningless error message with front() applied to void[]

It's not possible to index into void[] arrays, which means that they
cannot be ranges.  Therefore, I've added template constraints to
front(), back(), popFront(), and popBack() in std.array that prevents
them from being instantiated with void[].

http://www.dsource.org/projects/phobos/changeset/2123



More information about the phobos mailing list