Back to course home
0% completed
Vote For New Content
For the C++ example, inheriting from Standard Library containers is generally co...
Adam Sweeney
Aug 8, 2022
For the C++ example, inheriting from Standard Library containers is generally considered bad practice as the containers do not provide virtual destructors.
You'd be better off creating a simple class that holds a vector and wraps the heap algorithms from .
1
0
Comments
Comments
A
Adam Sweeney3 years ago
from \
A
Adam Sweeney3 years ago
from the algorithm library. I feel like allowing html tagging is asking for a bad time.
Design Gurus3 years ago
Thanks for the insights, Adam Sweeney . We will keep this in mind when rewriting the solution.
On this page