|
Re: Should we use std::unique_ptr?
Excellent. At least we're heading in the right direction.
I didn't realize that I didn't need the cast. I added it to fix an error but obviously it was some other problem that I was having. I just tried and it works fine without the cast.
Using the get() without all the extra parentheses makes it much more usable.
Thanks for the quick response.
|