[Issue 15927] New: KeyType and ValueType for User Defined AAs

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 15 10:04:52 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15927

          Issue ID: 15927
           Summary: KeyType and ValueType for User Defined AAs
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: jack at jackstouffer.com

I would like my template functions to accept the built in AAs or the EMSI
containers HashMap type:
https://economicmodeling.github.io/containers/containers/hashmap.HashMap.html

In order to do this in a generic way, I would like KeyType and ValueType to
work for user defined types as well.

--


More information about the Digitalmars-d-bugs mailing list