Exemple #1
0
/* virtual */ void
group::visit ( visitor const& v )
{
  v.accept(*this);
  std::for_each(begin(), end(), std::bind(&node::visit, std::placeholders::_1, std::ref(v)));
}
Exemple #2
0
 virtual void visit(visitor& v) override 
 {
     v.accept(*this);
 }