Constants, Aliases
John Reimer
terminal.node at gmail.com
Thu Dec 14 13:44:43 PST 2006
On Thu, 14 Dec 2006 12:57:11 -0800, Bill Baxter <wbaxter at gmail.com> wrote:
>> And I need alias arguments as syntax sugar like:
>> alias(alias i) exp=i*2;
>> same as:
>> template exp(alias i){
>> alias exp=i*2;
>> }
>
> Hmm, yeh not sure about that. Have to get everyone to swallow the
> expression alias idea first, which will be tough because they've all
> been brainwashed into thinking that #define is the 8th deadly sin. :-P
>
> --bb
8th deadly sin?
No..no..no... I'm sure you meant 1st deadly sin! ;D
-JJR
More information about the Digitalmars-d
mailing list