Either I'm just too stupid, or D is lacking something

Andrei Khropov andkhropov at nospam_mtu-net.ru
Mon Jul 24 17:42:45 PDT 2006


Wolfgang Draxinger wrote:

> I used a '#' since it is not being assumed a token by the D specs
> right now.

In fact it's used for special token sequences:
http://www.digitalmars.com/d/lex.html#specialtokenseq 
(although I don't see much use in #line)

See also discussion here:
http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/39264

Looks like we have only '@' symbol to use.

What you are talking about is actually more powerful metaprogramming.
I'm afraid it's postponed to D 2.0.

-- 
AKhropov



More information about the Digitalmars-d mailing list