traversal.hxx | traversal.hxx | |||
---|---|---|---|---|
skipping to change at line 87 | skipping to change at line 87 | |||
// | // | |||
template <typename X, typename B> | template <typename X, typename B> | |||
class traverser_impl: public traverser<B>, | class traverser_impl: public traverser<B>, | |||
public virtual traverser_map<B> | public virtual traverser_map<B> | |||
{ | { | |||
public: | public: | |||
typedef X type; | typedef X type; | |||
traverser_impl () | traverser_impl () | |||
{ | { | |||
add (typeid (type), *this); | this->add (typeid (type), *this); | |||
} | } | |||
traverser_impl (traverser_impl const&) | traverser_impl (traverser_impl const&) | |||
{ | { | |||
add (typeid (type), *this); | this->add (typeid (type), *this); | |||
} | } | |||
virtual void | virtual void | |||
traverse (type&) = 0; | traverse (type&) = 0; | |||
public: | public: | |||
virtual void | virtual void | |||
trampoline (B&); | trampoline (B&); | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||