Multiple Choice
When the last shared_ptr to a resource is destroyed, all weak_ptrs to that resource .
A) are destroyed
B) are set to NULL
C) are not affected
D) can still access the resource
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: A program using Boost.Regex must include the
Q2: C++0x will be<br>A) easier to learn<br>B) better
Q4: Use the weak_ptr member function to create
Q5: The dot character .) matches:<br>A) any visible
Q6: An auto_ptr can manage any:<br>A) dynamically allocated
Q7: The Random library provides:<br>A) pseudo-random number generators<br>B)
Q8: The unordered associative containers use a to
Q9: A declaration allows you to test certain
Q10: Which of the following will not be
Q11: A copy of an auto_ptr:<br>A) shares the