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
Q8: The character class \s represents any:
A) whitespace
Q9: A copy of an auto_ptr:
A) shares the
Q10: The unordered associative containers use a to
Q11: The regular expression "[^0-9]+:\s\d{2,}" matches:
A) "123: Jones"
B)
Q12: A program using Boost.Regex must include the
Q14: The "^" and "$" characters represent:
A) back
Q15: To use shared_ptrs in your program you
Q16: The dot character .) matches:
A) any visible
Q17: Use the weak_ptr member function to create
Q18: The library in TR1 is based on
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents