Beispiel #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)));
}
Beispiel #2
0
 virtual void visit(visitor& v) override 
 {
     v.accept(*this);
 }