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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2013-02-14 10:21:30 
PST ---
I don't think that it's going to work to overload on any of these attributes.
They're inferred for templated functions, which means that the functions being
used within a function must have their @safety, purety, and nothrow-ity
determined before they're determined for the function itself. So, you can't
reasonably determine an overload of nothrow, @safe, or pure based on the
caller. It has to be based on the arguments (which is _always_ how function
overloading is determined).

Rather, it would be better to make it so that overloads with the same
parameters are illegal.

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

Reply via email to