The syntax of sort and templates

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 26 07:09:17 PDT 2017


On Friday, 26 May 2017 at 11:05:37 UTC, Gary Willoughby wrote:
> The exclamation mark here is not a binary operator, it's used 
> in D templates to define where compile-time parameters are.

It actually is a binary operator, its left-hand-side is a 
template and its right-hand-side is a template argument list. 
Together, it instantiates the template.

Terminology nitpick, but stiil.


More information about the Digitalmars-d-learn mailing list