[OT] Re: Targeting C

2009-10-23 Thread Steven Schveighoffer
On Fri, 23 Oct 2009 12:50:34 -0400, Andrei Alexandrescu wrote: What does iota mean? http://www.digitalmars.com/d/2.0/phobos/std_range.html#iota Irony minded. I'm destroyed. Hm... this is slightly off topic, but that function signature is absolutely horrendous (in fact, I thought you li

Re: [OT] Re: Targeting C

2009-10-23 Thread Andrei Alexandrescu
Steven Schveighoffer wrote: On Fri, 23 Oct 2009 12:50:34 -0400, Andrei Alexandrescu wrote: What does iota mean? http://www.digitalmars.com/d/2.0/phobos/std_range.html#iota Irony minded. I'm destroyed. Hm... this is slightly off topic, but that function signature is absolutely horrendous

Re: [OT] Re: Targeting C

2009-10-23 Thread Ary Borenszweig
Andrei Alexandrescu wrote: Steven Schveighoffer wrote: On Fri, 23 Oct 2009 12:50:34 -0400, Andrei Alexandrescu wrote: What does iota mean? http://www.digitalmars.com/d/2.0/phobos/std_range.html#iota Irony minded. I'm destroyed. Hm... this is slightly off topic, but that function signatu

Re: [OT] Re: Targeting C

2009-10-23 Thread Brad Roberts
On Fri, 23 Oct 2009, Ary Borenszweig wrote: > Andrei Alexandrescu wrote: > > Steven Schveighoffer wrote: > > > On Fri, 23 Oct 2009 12:50:34 -0400, Andrei Alexandrescu > > > wrote: > > > > > > > > What does iota mean? > > > > > > > > http://www.digitalmars.com/d/2.0/phobos/std_range.html#iota >

Re: [OT] Re: Targeting C

2009-10-24 Thread Max Samukha
On Fri, 23 Oct 2009 13:08:06 -0500, Andrei Alexandrescu wrote: > >I wanted to use auto, but ddoc cannot document functions with auto returns. > >Andrei > When I need to hack around an 'auto' bug, I sometimes factor out the return type to a template: template IotaRet(B, E, S = size_t) { alia

Re: [OT] Re: Targeting C

2009-10-24 Thread Andrei Alexandrescu
Max Samukha wrote: On Fri, 23 Oct 2009 13:08:06 -0500, Andrei Alexandrescu wrote: I wanted to use auto, but ddoc cannot document functions with auto returns. Andrei When I need to hack around an 'auto' bug, I sometimes factor out the return type to a template: template IotaRet(B, E, S = s