Template Method Pattern and Virtuality in C++, Visitor Pattern

1. Learn how to correctly implement template method pattern in C++.
http://www.gotw.ca/publications/mill18.htm

2. Then, consider alternatives like strategy, factory or callback.
http://tech.puredanger.com/2007/07/03/pattern-hate-template/

3. Great overview and alternative implementation of traditional visitor pattern.
http://tech.puredanger.com/2007/07/16/visitor/

Post a Comment

Your email is never published nor shared.

Spam protection by WP Captcha-Free