p0nce

Results 283 issues of p0nce

This talks about D anonymous classes, in a way that I haven't seen http://dpldocs.info/this-week-in-d/Blog.Posted_2021_02_15.html

(Former) C++ programmers have difficulty with struct vs class in D, since in C++ the distinction is anecdotic and in D the difference is massive. Especially the difference in pointer...

https://forum.dlang.org/thread/[email protected]

Discovered in webfreak and ethan's slides

Everyone seems worried about that transition at the Dlang Annual Meeting

A destructor should be able to handle a default-initialized object. https://forum.dlang.org/post/[email protected]

https://forum.dlang.org/thread/[email protected] Presumably the compiler stopped warning about escaping references?

``` eval 'enum A : int { init } int a() { return 0; } A b = a;' /tmp/.rdmd-1000/eval.B5653537C403392A9A9B20B226E57659.d(18): Error: cannot implicitly convert expression a() of type int to...

By Basile, co-invented with Ketmar and Adam ```d /** * When mixed in a aggregate this template has for effect to disable the usage * the $(D new) operator. */...