42 template <
unsigned int N>
45 template<
typename T1,
typename T2 = unused_visitee<2>,
typename T3 = unused_visitee<3>,
typename T4 = unused_visitee<4>,
46 typename T5 = unused_visitee<5>,
typename T6 = unused_visitee<6>,
typename T7 = unused_visitee<7>,
47 typename T8 = unused_visitee<8>,
typename T9 = unused_visitee<9>,
typename T10 = unused_visitee<10> >
53 virtual void visit(
const T1& aVisitee)
const {}
54 virtual void visit(T1& aVisitee) {
visit(
const_cast<const T1&
>(aVisitee)); }
55 virtual void visit(
const T2& aVisitee)
const {}
56 virtual void visit(T2& aVisitee) {
visit(
const_cast<const T2&
>(aVisitee)); }
57 virtual void visit(
const T3& aVisitee)
const {}
58 virtual void visit(T3& aVisitee) {
visit(
const_cast<const T3&
>(aVisitee)); }
59 virtual void visit(
const T4& aVisitee)
const {}
60 virtual void visit(T4& aVisitee) {
visit(
const_cast<const T4&
>(aVisitee)); }
61 virtual void visit(
const T5& aVisitee)
const {}
62 virtual void visit(T5& aVisitee) {
visit(
const_cast<const T5&
>(aVisitee)); }
63 virtual void visit(
const T6& aVisitee)
const {}
64 virtual void visit(T6& aVisitee) {
visit(
const_cast<const T6&
>(aVisitee)); }
65 virtual void visit(
const T7& aVisitee)
const {}
66 virtual void visit(T7& aVisitee) {
visit(
const_cast<const T7&
>(aVisitee)); }
67 virtual void visit(
const T8& aVisitee)
const {}
68 virtual void visit(T8& aVisitee) {
visit(
const_cast<const T8&
>(aVisitee)); }
69 virtual void visit(
const T9& aVisitee)
const {}
70 virtual void visit(T9& aVisitee) {
visit(
const_cast<const T9&
>(aVisitee)); }
71 virtual void visit(
const T10& aVisitee)
const {}
72 virtual void visit(T10& aVisitee) {
visit(
const_cast<const T10&
>(aVisitee)); }
75 template<
typename T1,
typename T2 = unused_visitee<2>,
typename T3 = unused_visitee<3>,
typename T4 = unused_visitee<4>,
76 typename T5 = unused_visitee<5>,
typename T6 = unused_visitee<6>,
typename T7 = unused_visitee<7>,
77 typename T8 = unused_visitee<8>,
typename T9 = unused_visitee<9>,
typename T10 = unused_visitee<10> >
virtual void accept(const visitor_type &aVisitor) const =0
virtual void accept(visitor_type &aVisitor)
visitor< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > visitor_type
virtual void visit(const T5 &aVisitee) const
virtual void visit(T5 &aVisitee)
virtual void visit(const T7 &aVisitee) const
virtual void visit(T8 &aVisitee)
virtual void visit(T10 &aVisitee)
virtual void visit(T1 &aVisitee)
virtual void visit(T2 &aVisitee)
virtual void visit(T6 &aVisitee)
virtual void visit(const T3 &aVisitee) const
virtual void visit(T9 &aVisitee)
virtual void visit(T7 &aVisitee)
virtual void visit(T4 &aVisitee)
virtual void visit(const T9 &aVisitee) const
virtual void visit(const T2 &aVisitee) const
virtual void visit(T3 &aVisitee)
virtual void visit(const T10 &aVisitee) const
virtual ~visitor()=default
virtual void visit(const T6 &aVisitee) const
virtual void visit(const T1 &aVisitee) const
virtual void visit(const T8 &aVisitee) const
virtual void visit(const T4 &aVisitee) const