How to create friends of a class at compile time?

Tejas notrealemail at gmail.com
Thu Jul 15 17:21:45 UTC 2021


I can do it like this in C++:
```
template<class abc>
class def
{
     friend typename abc;
}
```

I am just hopelessly confused on how to achieve the same in D.


More information about the Digitalmars-d-learn mailing list