[Issue 8591] typecons.RefCounted.refCountedPayload should be nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 27 06:36:41 PDT 2012


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



--- Comment #2 from monarchdodra at gmail.com 2012-08-27 06:36:37 PDT ---
I didn't know that nothrow could be inferred.

Also, I completely agree that duplicating the function is, at best,
un-desirable.

Yet the inference doesn't wor;: However, I am not calling "refCountedPayload"
directly, but the alias "alias refCountedPayload this". Maybe that is the
reason? Or not, I just read #8504.

Anyways, it is preventing me from marking other functions as unconditionally
nothrow.

I think that in the long run, it is better to have a single workaround, which
can be centrally fixed later, rather than having a bunch of functions work
around it, potentially never fixing some of those workaround.

-- 
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