Boost logo

Boost :

From: Andrei Alexandrescu (andrewalex_at_[hidden])
Date: 2002-04-24 11:09:33

"Itay Maman" <itay_maman_at_[hidden]> wrote in message
> A couple of days ago, I made a post regarding a generic visitor
> Power_visitor, which is basically a static (i.e: compile time based)
> visitor.
> typedef vany<t_visitor> t_any;

The fact that you must parameterize the visited class with the visitor
class is a disadvantage. Visitor's main purpose is to add new
processing to types without changing the types themselves. If you must
parameterize those types with the type of the visitor, then that
requirement is not satisfied anymore.


Boost list run by bdawes at, gregod at, cpdaniel at, john at