Re: const argument

2009-03-29 Thread TSalm
Le Sat, 28 Mar 2009 17:52:54 +0100, TSalm a écrit: Le Sat, 28 Mar 2009 12:21:52 +0100, Jarrett Billingsley a écrit: On Sat, Mar 28, 2009 at 6:12 AM, TSalm wrote: Hello, Is there a way to specifie a constant argument ( I would say an argument for which his value is evaluate at compile

Re: const argument

2009-03-28 Thread TSalm
Le Sat, 28 Mar 2009 12:21:52 +0100, Jarrett Billingsley a écrit: On Sat, Mar 28, 2009 at 6:12 AM, TSalm wrote: Hello, Is there a way to specifie a constant argument ( I would say an argument for which his value is evaluate at compile time ) For example, something like this : /* --

Re: const argument

2009-03-28 Thread Jarrett Billingsley
On Sat, Mar 28, 2009 at 6:12 AM, TSalm wrote: > Hello, > > Is there a way to specifie a constant argument ( I would say an argument for > which his value is evaluate at compile time ) > > For example, something like this : > > /* CODE - */ > import tango.io.Stdout; > > void func(c

const argument

2009-03-28 Thread TSalm
Hello, Is there a way to specifie a constant argument ( I would say an argument for which his value is evaluate at compile time ) For example, something like this : /* CODE - */ import tango.io.Stdout; void func(const bool constArg) { static if (constArg) Stdout