[Issue 11603] Refused std.algorithm.canFind on an array of enums

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 3 18:47:12 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11603


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


--- Comment #2 from bearophile_hugs at eml.cc 2013-12-03 18:47:08 PST ---
I think the problem is not yet solved, see:


void main() {
    import std.algorithm: canFind;
    enum Foo : ubyte { A }
    assert([Foo.A].canFind(Foo.A));
}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list