Implicit conversions for AA keys

Timon Gehr timon.gehr at gmx.ch
Sat Mar 24 05:13:46 PDT 2012


On 03/24/2012 12:34 PM, Timon Gehr wrote:
>      static if(is(typeof(getConstQual!Key.init.idup):Key)){

Better:

static if(is(typeof(getConstQual!Key.init.idup):Key) && 
!is(getConstQual!Key: Key)){


More information about the Digitalmars-d mailing list