[Cs3] Template Design Patterns Question
Mikhail Nesterenko
mikhail at cs.kent.edu
Tue May 10 19:19:48 EDT 2016
>
> Why can't all design patterns (chain of responsibility and adapter) be implemented using templates?
Because some design patterns, these two for example, but many others,
are using inheritance/polymorphism for something other than just
simple abstract/concrete class functionality (that is, abstract
class sets up interface while concrete class provides data payload)
which can be implemented using templates.
Thanks,
--
Mikhail
More information about the cs3
mailing list