public:
void print(const print_context & c, unsigned level = 0) const;
+ unsigned precedence(void) const {return 10;}
bool info(unsigned inf) const;
unsigned nops() const;
ex & let_op(int i);
protected:
${STLT} seq;
- static unsigned precedence;
};
// utility functions
} else {
// always print brackets around seq, ignore upper_precedence
- printseq(c, '${open_bracket}', ',', '${close_bracket}', precedence, precedence+1);
+ printseq(c, '${open_bracket}', ',', '${close_bracket}', precedence(), precedence()+1);
}
}
return 0; // nothing has changed
}
-//////////
-// static member variables
-//////////
-
-// protected
-
-unsigned ${CONTAINER}::precedence = 10;
-
} // namespace GiNaC
END_OF_IMPLEMENTATION