[Patch] Variable Template

nazo lovesyao at gmail.com
Thu Dec 14 21:18:15 PST 2006

Here is my patch for variable template 'without' alias and typedef.

Test Code:
const int test(int x) = x*2;

void main(){
   static assert(test!(5)==10);

#sorry for my poor English.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: value_temp.diff
Type: text/x-patch
Size: 1638 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20061215/54aff132/attachment.bin>

More information about the Digitalmars-d mailing list