Three Unlikely Successful Features of D
Nick Sabalausky
a at a.a
Tue Mar 20 18:32:37 PDT 2012
"Walter Bright" <newshound2 at digitalmars.com> wrote in message
news:jkb2v6$kq4$2 at digitalmars.com...
> On 3/20/2012 3:58 PM, Nick Sabalausky wrote:
>> Alias in particular is a much bigger deal than it seems since it's
>> seemingly
>> trivial but can be *incredibly* helpful with templates *and* with
>> importing.
>
> I'd have to agree with this. I find it amazing that other languages
> entirely miss the boat on this.
>
> C++ has a very crippled version of it in "template template parameters".
I particulary love how D's alias is used to disambiguate symbol conflicts.
Brilliant approach. I know I wouldn't have thought of it.
More information about the Digitalmars-d
mailing list