[Issue 8591] typecons.RefCounted.refCountedPayload should be nothrow
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 26 11:01:32 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8591
Jonathan M Davis <jmdavisProg at gmx.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmdavisProg at gmx.com
--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-08-26 11:01:30 PDT ---
Marking it as nothrow should be completely unnecessary. The function is
templated. nothrow should be inferred. And having to duplicate the function to
have a nothrow and non-nothrow version is definitely undesirable.
However, attribute inferrence seems to be very broken right now ( bug# 8504 ),
so it wouldn't surprise me in the least if it's not being inferred properly in
this case. Attribute inferrence seems to work _sometimes_, but I have yet to
figure out under what conditions it does. It's _supposed_ to be inferred for
all templated functions, delegates which are explicitly typed, and lambdas, but
it only works in a fraction of those circumstances.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list