changeset 614 David Simcha wrote:
Unfortunately I've found one other problem related to the Filter struct being nested inside filter():import std.algorithm; void main() { auto arr = [1,2,3,4,5]; auto m = map!"a + 1"(filter!"a < 4"(arr)); }d:\dmd2\windows\bin\..\..\src\phobos\std\algorithm.d(114): Error: struct std.algorithm.Map!(result,Filter).Map inner struct Filter cannot be a field
_______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
