On 6/17/2014 2:51 PM, Kapps wrote:
Is there a way to move the costs of exception handling to occur only if an exception is actually encountered?
That's already been done to a large extent. But you can see what's left for yourself - compile some shared_ptr<T> code with clang/g++/VC++ and take a look at the generated code.
I'm guessing there's also no way to actually estimate what sort of performance hit ARC would bring?
Yes, there is. Write code that a hypothetical ARC would generate, and then test it.
