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


Tommi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #7 from Tommi <[email protected]> 2013-07-06 08:36:27 PDT ---
(In reply to comment #4)
> Any solution should be able to replace the existing syntax completely, so the
> compiler would have to parse e.g. function template blocks:
> 
> template initOf(T)
> {
>     T this()
>     {return T.init;}
> }
> 
> I think instead of using 'this' for the symbol name, 'template' would be
> clearer.

I think using 'out' as the symbol name would be even clearer. But I agree that
'template' is better than 'this'.

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

Reply via email to