Re: template interface and delegates

2014-04-02 Thread Kenji Hara
On Tuesday, 1 April 2014 at 19:55:05 UTC, Steven Schveighoffer wrote: On Tue, 01 Apr 2014 15:47:42 -0400, anonymous wrote: Is this bug allready reported? or can somebody who has a deeper insight to this report it? I don't know. I think you should report it. If it's already reported, someon

Re: template interface and delegates

2014-04-01 Thread Steven Schveighoffer
On Tue, 01 Apr 2014 15:47:42 -0400, anonymous wrote: Is this bug allready reported? or can somebody who has a deeper insight to this report it? I don't know. I think you should report it. If it's already reported, someone will close it as a "duplicate" -Steve

Re: template interface and delegates

2014-04-01 Thread anonymous
Is this bug allready reported? or can somebody who has a deeper insight to this report it? On Tuesday, 1 April 2014 at 05:51:46 UTC, anonymous wrote: Ok, thought i did something wrong or got some wrong idea how it should work.

Re: template interface and delegates

2014-03-31 Thread anonymous
Ok, thought i did something wrong or got some wrong idea how it should work.

Re: template interface and delegates

2014-03-31 Thread Steven Schveighoffer
On Mon, 31 Mar 2014 14:58:30 -0400, anonymous wrote: Hi, I'm new to D and played a bit with templates and delegates. Now i discovered some behaviore that i don't understand. Can somebody explain me why i get two different outputs? import std.stdio; interface A(T){ bool GetBool();

Re: template interface and delegates

2014-03-31 Thread Justin Whear
On Mon, 31 Mar 2014 18:58:30 +, anonymous wrote: > Hi, > I'm new to D and played a bit with templates and delegates. > Now i discovered some behaviore that i don't understand. Can somebody > explain me why i get two different outputs? > > > import std.stdio; > > > interface A(T){ > b

template interface and delegates

2014-03-31 Thread anonymous
Hi, I'm new to D and played a bit with templates and delegates. Now i discovered some behaviore that i don't understand. Can somebody explain me why i get two different outputs? import std.stdio; interface A(T){ bool GetBool(); T getT(); } class C:A!(double){ override