Am 30.09.2014 14:55, schrieb "Ola Fosheim Grøstad" <ola.fosheim.grostad+dl...@gmail.com>":
On Tuesday, 30 September 2014 at 12:51:25 UTC, Paulo  Pinto wrote:

It works when two big ifs come together.

- inside the same scope (e.g. function level)

- when the referece is not shared between threads.

While it is of limited applicability, Objective-C (and eventually
Swift) codebases prove it helps in most real life use cases.

But Objective-C has thread safe ref-counting?!

If it isn't thread safe it is of very limited utility, you can usually
get away with unique_ptr in single threaded scenarios.

Did you read my second bullet?

Reply via email to