Get AA key and value type
Pierre via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Sep 20 05:19:40 PDT 2015
On Sunday, 20 September 2015 at 09:34:15 UTC, Ali Çehreli wrote:
> On 09/20/2015 12:47 AM, Pierre wrote:
>
>> I see, maybe .KeyType and .ValueType should be integrated in
>> AA.
>> Or like C++ with map, make a ValueType(::value_type) field
>> wich contain
>> a pair of type.
>
> Currently, they are templates in std.traits:
>
> http://dlang.org/phobos/std_traits.html#KeyType
>
> Ali
Nice! thank you for the information.
More information about the Digitalmars-d-learn
mailing list