On Feb 18, 9:05 pm, Maciej Sobczak <see.my.homep...@[EMAIL PROTECTED]
> wrote:
> On 18 Lut, 04:23, d0...@[EMAIL PROTECTED]
wrote:
>
> > I have a question about the Visitor design pattern.
>
> At the risk of being controversial, I'd invite you to read this:
>
> http://www.inspirel.com/articles/Visitor_Revisited.html
>
> This article criticizes the Visitor pattern and the problem you have
> with it is one of the things that are mentioned.
> Your comments are welcome.
in C++, Visitor should be used only in a static class hierarchy
Chapter 10 of Modern C++ Design has a good approach for an extensible
Visitor
Diego
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]