From: loufoque (mathias.gaunard_at_[hidden])
Date: 2006-11-01 12:16:16
Boris Kolpackov wrote:
> typedef visitor<handle1, handle2, ...> v;
> reader r (filename);
> while (node* n = r.next()) v.visit (n);
Why do we have a node* here?
Shouldn't it be a boost::variant<Node, ...>& ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk