is the 'unique_ptr' smart pointer maintaining a reference counter?

150. is the "unique_ptr" smart pointer maintaining a reference counter?

  1. Yes
  2. No

Answer: B) NO

Explanation:

The "unique_ptr" does not maintain a reference counter while "shared_ptr" maintains a reference counter.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.