On Wednesday, 27 July 2022 at 11:09:19 UTC, Ali Çehreli wrote:
On 7/27/22 04:00, pascal111 wrote:
I noticed more than once that the exclamation "!" is used within functions typing, and it seems like an operator with new use, for example "to!int()", ".tee!(l => sum += l.length)", "enforce!MissingArguments...", so what dose it means?


The binary ! operator is used for specifying template arguments. I have some explanation here:


http://ddili.org/ders/d.en/templates.html#ix_templates.!,%20template%20instance

Ali

I think I got it now, it's easy, I thought it so advanced D feature.

Reply via email to