string <-> null/bool implicit conversion

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 20 14:11:18 PDT 2015


On 8/20/15 4:45 PM, Timon Gehr wrote:
> On 08/20/2015 10:43 PM, Steven Schveighoffer wrote:
>> On 8/20/15 4:38 PM, Jonathan M Davis wrote:
>>> And why would you want that? The length is meaningless if the pointer is
>>> null. It shouldn't even be possible for the length to be anything other
>>> than zero if the pointer is null.
>>
>> This makes me think you misunderstand what I am doing.
>>
>
> Which was my original point. :o)

touche ;)

-Steve


More information about the Digitalmars-d mailing list