Prototype (cont’d)
Consequences
reduced subclassing
easy to create preconfigured objects
less flexible than Factory Method
Implementation
requires robust copying
using a class instead of a prototype to parameterize object creation
Known Use
MFC DocumentTemplates
Previous slide
Next slide
Back to first slide
View graphic version