Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: cyclic visi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 9299 of 10104
Post > Topic >>

Re: cyclic visitor

by Diego Martins <jose.diego@[EMAIL PROTECTED] > Feb 19, 2008 at 04:44 PM

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! ]
 




 1 Posts in Topic:
Re: cyclic visitor
Diego Martins <jose.di  2008-02-19 16:44:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:39:00 CDT 2008.