Main /
2006-10-02I gotta learn some about inheritance and polymorphism! parametric-poly.cpp * Uses "identity" keyword of c++ - what is that? subtype-polymorphism.cpp alloc-count-vector-deque.cpp alloc-count-vector-list.cpp Dynamic dispatching - must be a reference (not statically instantiated) If you use statically instantiated, then the identity comes from the base? Pure Virtual Function We can substitute our own allocator in STL (see handot - Allocator Reference Guide) |