Quiz on C++ Memory Resource



1. What is the primary purpose of the C++ memory resource library?
2. Which class in the memory resource library is responsible for managing memory resources?
3. What does the 'new_delete_resource' function do?
4. What is a 'pool_resource' used for?
5. Which resource would you use for a continuous allocation of memory that never needs to be freed until the program ends?

Advertisements