alias is one of those awesome chameleons in D. The template equivalent is``` template P(T) = T*; ```
Correction ... ``` template P(T){ alias P = T*; } ```
data pulverizer via Digitalmars-d-learn Wed, 19 Aug 2020 15:26:20 -0700
alias is one of those awesome chameleons in D. The template equivalent is``` template P(T) = T*; ```
Correction ... ``` template P(T){ alias P = T*; } ```