Null argument and function resolution

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 27 07:03:13 PDT 2015


Check this example:
http://dpaste.dzfl.pl/53f85bae4382

Calling with null, both c-tor match.
Is there a way to solve this?

Something like:

this(in ubyte* data) if( ??? )
{

}


Andrea


More information about the Digitalmars-d-learn mailing list