Line 17 uses the unique_ptr
overloaded ->
operator to invoke function setInteger
on the Integer
object that ptrToInteger
manages. Line 20 uses the unique_ptr
overloaded *
operator to dereference ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.