D1.5 anyone?

Walter Bright newshound2 at digitalmars.com
Wed Apr 12 04:57:13 UTC 2023


On 4/11/2023 10:30 AM, Hipreme wrote:
> `pure` breaks logging in your function for debugging,

That's why the following works:

pure void foo()
{
     debug printf("inside foo()\n");
}


> `const` you need to 
> specify it everywhere or else your thing won't compile. This is a great friction 
> I get which I took the decision to just drop those.

True, you can just not use const.


More information about the Digitalmars-d mailing list