string <-> null/bool implicit conversion

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 04:54:46 PDT 2015


On 08/21/2015 01:43 PM, Steven Schveighoffer wrote:
> null is technically a no-type placeholder (defaulting to void * without
> context).

It now defaults to typeof(null), which is a distinct type from void*.
The same is confusingly not true for [] though, which still defaults to 
void[].


More information about the Digitalmars-d mailing list