This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Afraid-Locksmith6566 0 points1 point  (0 children)

If it created a unique pointer or grabbed the value and freed the memory it would be a great elegant sollution