Compiler support for T(n) notation for initialization of variables

2014-06-07 Thread Joseph Rushton Wakeling via Digitalmars-d-learn
Hello all, Just a quick check -- which version of the dmd frontend introduces support for the notation T(n) to initialize a variable as type T? Is it 2.065 or the upcoming 2.066? I ask because as I'm always running git-HEAD DMD, I'm never entirely on top of what's in which version ... :-)

Re: Compiler support for T(n) notation for initialization of variables

2014-06-07 Thread bearophile via Digitalmars-d-learn
Joseph Rushton Wakeling: which version of the dmd frontend introduces support for the notation T(n) to initialize a variable as type T? Is it 2.065 or the upcoming 2.066? In 2.066. Bye, bearophile

Re: Compiler support for T(n) notation for initialization of variables

2014-06-07 Thread Peter Alexander via Digitalmars-d-learn
Well, it doesn't work in 2.065, so must be 2.066 :-) P.S. thanks for letting me know about this feature. I had no idea it was going in!

Re: Compiler support for T(n) notation for initialization of variables

2014-06-07 Thread Joseph Rushton Wakeling via Digitalmars-d-learn
On 07/06/14 19:57, Peter Alexander via Digitalmars-d-learn wrote: Well, it doesn't work in 2.065, so must be 2.066 :-) P.S. thanks for letting me know about this feature. I had no idea it was going in! I only discovered it when I was advised to use it in a recent Phobos PR of mine. :-) The

Re: Compiler support for T(n) notation for initialization of variables

2014-06-07 Thread Joseph Rushton Wakeling via Digitalmars-d-learn
On 07/06/14 19:57, bearophile via Digitalmars-d-learn wrote: Joseph Rushton Wakeling: which version of the dmd frontend introduces support for the notation T(n) to initialize a variable as type T? Is it 2.065 or the upcoming 2.066? In 2.066. Thanks for the confirmation :-)