Which statement is false:
a. A weak_ptr points to the resource managed by a shared_ptr without assuming any responsibility for it.
b. The reference count for a shared_ptr doesn’t increase when a weak_ptr references it. That means that the resource
of a shared_ptr can be deleted while there are still weak_ptrs pointing to it. When the last shared_ptr is destroyed,
the resource is deleted and any remaining weak_ptrs are set to NULL.
c. One use for weak_ptr s is to avoid memory leaks caused by circular references.
d. None of the above.
d. None of the above.
You might also like to view...
If no exception is thrown, then the _________ is ignored.
Fill in the blank(s) with the appropriate word(s).
It is the principal responsibility of the __________ to control the execution of processes.
A) ?OS ? B) ?process control block C) ?memory ? D) ?dispatcher
When another presentation is merged with the current presentation, the ________ pane is opened showing slide changes and presentation changes
A) Revisions B) Merge C) Adjustment D) Changes
?When phrasing interview questions, a systems analyst should avoid _____ that suggest or favor a particular reply.
A. ?range-of-response questions B. ?open-ended questions C. ?closed-ended questions D. ?leading questions