More D Features Working Their Way Into C++

zjh fqbqrr at 163.com
Sun Nov 27 06:07:54 UTC 2022


On Sunday, 27 November 2022 at 03:14:03 UTC, Tejas wrote:

> ```cpp
>
>  template![int N]
>  int func(int i){ return N;}
>  // Used like
>  int d = func!44;
>
> ```


`template![int N]` can be `template[int N]`.
Maybe it's too picky.


More information about the Digitalmars-d mailing list