http://d.puremagic.com/issues/show_bug.cgi?id=1827


Trass3r <mrmoc...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrmoc...@gmx.de


--- Comment #6 from Trass3r <mrmoc...@gmx.de> 2011-04-08 06:20:17 PDT ---
(In reply to comment #1)
> > --- I wonder if you ever try to define something like this:
> > 
> > void parse(T : T == char[] || T == wchar[] || T == dchar[])(T str) {
> >  }
> 
> You mean match a type if a Boolean condition is satisfied? Yes, I also felt a
> need for that.

Has this lead to template contraints?


> > or wonder why symbol T gets redefined into array element like below:
> >  void parse(T : T[]) {}
> 
> This is bar none the fugliest hack ever since eunuchs have been invented. I
> have argued many times with Walter to remove it, and probably de facto it will
> - none of the book's code samples will feature it.

Any updates?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to