Re: [proto] Visitor Design Pattern

2010-10-23 Thread Thomas Heller
On Saturday 23 October 2010 07:13:56 e...@boostpro.com wrote: Actually, I may have been hasty. I've had a hard time porting my mini-Phoenix to proto::algorithm. Thomas, can you, either with your version or mine? Proto::switch_ doesn't play nicely with it. Yes you are right ... there is a

Re: [proto] Visitor Design Pattern

2010-10-23 Thread Eric Niebler
On 10/23/2010 10:45 AM, Thomas Heller wrote: On Saturday 23 October 2010 19:30:18 Eric Niebler wrote: On 10/23/2010 10:12 AM, Eric Niebler wrote: I've tweaked both the traversal example you sent around as well as my over toy Phoenix. Tell me what you guys think. Actually, I think it's better

Re: [proto] Visitor Design Pattern

2010-10-23 Thread Eric Niebler
On 10/23/2010 5:10 PM, Joel de Guzman wrote: On 10/24/2010 2:18 AM, Thomas Heller wrote: On Saturday 23 October 2010 19:47:59 Eric Niebler wrote: On 10/23/2010 10:45 AM, Thomas Heller wrote: Why not just rule? Less characters to type. I almost called it rule, but *everything* in Proto is a