void print(ostream & os, unsigned upper_precedence=0) const;
void printtree(ostream & os, unsigned indent) const;
bool info(unsigned inf) const;
- int nops() const;
+ unsigned nops() const;
ex & let_op(int const i);
ex expand(unsigned options=0) const;
bool has(ex const & other) const;
// ${CONTAINER}::info() will be implemented by user elsewhere";
-int ${CONTAINER}::nops() const
+unsigned ${CONTAINER}::nops() const
{
return seq.size();
}
<< ", hash=" << hashvalue << " (0x" << hex << hashvalue << dec << ")"
<< ", flags=" << flags
<< ", nops=" << nops() << endl;
- for (int i=0; i<nops(); ++i) {
+ for (unsigned i=0; i<nops(); ++i) {
seq[i].printtree(os,indent+delta_indent);
}
os << string(indent+delta_indent,' ') << "=====" << endl;