C++ or D?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Wed Dec 30 21:21:00 UTC 2020


On Wednesday, 30 December 2020 at 21:17:25 UTC, sighoya wrote:
> On Wednesday, 30 December 2020 at 21:12:43 UTC, Ola Fosheim 
> Grøstad wrote:
>>(which does not work, but maybe there is some other
>> way to express it?):
>
> See: 
> https://forum.dlang.org/thread/ooxzbrmbrzpsefirosor@forum.dlang.org?page=1

Ok, so basically just add alias:

void foo(alias T)(T!int x) {

Ok. :)




More information about the Digitalmars-d-learn mailing list