make a nothrow call a throwing function

Artur Skawina art.08.09 at gmail.com
Fri Feb 8 00:30:41 PST 2013


On 02/08/13 01:33, Jonathan M Davis wrote:
> Hmmm. I wouldn't have thought that you could get the function pointer at 
> compiler time. Regardless, you lose any possibility of inlining the function 
> call, which is the main problem AFAIK, though I don't know if they would have 
> been an option in the case of dup anyway.

It doesn't affect inlining. (Obviously, that's compiler dependent, but there's
no reason why it should and indeed does not w/ gdc)

artur


More information about the Digitalmars-d-learn mailing list