|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-04-10 06:58:51
From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
> I'd like to propose making 'any' visitable. Without visitation, all
> you can do to query the type of any is to do it explicitly, which is
> awkward and error-prone.
>
> With visitation, one can add processing to any that is nicely
> decoupled. (By the way, due to the nature of 'any', it seems like only
> acyclic visitation will do - the classic GoF visitor won't work.)
>
> So, in a nutshell - do you guys think it's a good idea?
Yes, definitely.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk