Special functions, like the old pblit, can be templatized and obviously are never called

Nick Treleaven nick at geany.org
Mon Apr 13 12:15:48 UTC 2026


On Monday, 13 April 2026 at 09:23:24 UTC, user1234 wrote:
> example:
>
> ```d
> struct Test
> {
>     this()(this)
>     {

Good find, I think this should be a parse error. I'm looking at 
doing that. Also these only error if instantiated:

```d
     void f()(this);
     void g()(super);
```


More information about the Digitalmars-d-learn mailing list