Feature Request: Keyword as identifier.

Stewart Gordon smjg_1998 at yahoo.com
Mon Oct 2 14:29:46 PDT 2006


Don Clugston wrote:
<snip>
> I proposed a keyword called 'identifier':
> 
> extern(C) int identifier("version")();
> 
> As well as solving this problem, it would add the most powerful 
> remaining C preprocessor feature (token pasting) into the D template 
> system. Serious magic. Although D has no shortage of magic already <g>.

What practical uses are there for token pasting in D?

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- 
PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.



More information about the Digitalmars-d mailing list