Generic memory allocation in D

Walter Bright newshound2 at digitalmars.com
Tue Mar 5 03:31:28 UTC 2024


On 3/4/2024 2:57 PM, kdevel wrote:
> And yesterday I found a post where an "is" function does not return
> a bool [2]:
> 
> https://github.com/dlang/dmd/pull/16280/files
> package CppOperator isCppOperator(const scope Identifier id)

Correct, but it isn't that bad. The "is", when treated as a bool, gives a result 
that correctly answers the question.



More information about the Digitalmars-d mailing list