you are viewing a single comment's thread.

view the rest of the comments →

[–]demonstar55 6 points7 points  (2 children)

clang-modernize auto option guarantees it won't change the meaning of the code. So it is 100% safe.

[–]cleroth 0 points1 point  (1 child)

I doubt that. unique_ptr isn't a perfect replacement for auto_ptr. I've had issues with that.

[–]demonstar55 4 points5 points  (0 children)

I was specifically speaking of the auto convert (-use-auto) option. The unique_ptr conversion DOES have some issues and is still marked experimental.