Re: Compile time features

2015-10-29 Thread qsdf via Digitalmars-d
On Thursday, 29 October 2015 at 15:14:13 UTC, Shammah Chancellor wrote: On Thursday, 29 October 2015 at 06:02:05 UTC, qsdf wrote: On Thursday, 29 October 2015 at 02:43:59 UTC, Shammah Chancellor wrote: I agree with you on an aspect: writing code with __traits() often leads to a

Re: Compile time features

2015-10-29 Thread qsdf via Digitalmars-d
On Thursday, 29 October 2015 at 02:43:59 UTC, Shammah Chancellor wrote: Currently D has some very very powerful compile time features, but they can get unwieldily quickly when doing compile time reflection with mildly complicated logic. It's pretty disappointing. I'd like to start a

Re: What's up with staticIota?

2015-10-28 Thread qsdf via Digitalmars-d
On Wednesday, 28 October 2015 at 12:09:53 UTC, rcorre wrote: [...] 1. Expose staticIota as-is. 2. Implement `static foreach` 3. `toTypeTuple` [...] 1. It "just" requires to change visibility + ddoc. Until maybe one day 2.

Re: How to do unittests

2015-09-30 Thread qsdf via Digitalmars-d-learn
On Wednesday, 30 September 2015 at 14:20:28 UTC, Namal wrote: On Wednesday, 30 September 2015 at 13:03:52 UTC, Rikki Cattermole wrote: On 01/10/15 1:59 AM, Namal wrote: Hello, can someone give me a complete example please how to do unittests? I tried this with the example from german