serialization library - associative arrays ?

Lars Ivar Igesund larsivar at igesund.net
Thu Dec 21 11:14:41 PST 2006


BCS wrote:

> Christian Kamm wrote:
>>> Hi, what about associative arrays ?
>> 
>> 
>> They're not supported at the moment as I forgot about them.
>> 
>> Hm, is there a way to check if a template parameter is an associative
>> array and to get the key and value type without relying on .keys and
>> ..values?
>> 
>> Cheers,
>> Christian
> 
> 
> static if(is(A in B))
> 
> ??? IIRC in only works with AAs

opIn is overloadable.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource & #D: larsivi



More information about the Digitalmars-d-announce mailing list