__traits so long and ugly, what about ::?

Alix Pexton alix.DOT.pexton at gmail.DOT.com
Wed Mar 30 13:19:57 PDT 2011


On 30/03/2011 20:45, KennyTM~ wrote:
> This is confusing as :: is used to separate scopes in C++ (and PHP too).

The first thing it reminded me of was Lua, where a single colon makes 
the left hand side into the first argument of the function on the right.

foo:bar(x) ==> bar.(foo, x)

So it felt kinda familiar to me ^^

A...


More information about the Digitalmars-d mailing list