12 int Indenter::level = -1;
14 Indenter::Indenter(std::ostream &out, std::string step) :
20 Indenter::~Indenter() { level--; };
23 int Indenter::main(
int argc,
char ** argv)
25 Indenter idt0(std::cout);
27 idt0 <<
"This is a level 0 display." << std::endl;
30 Indenter idt1 = Indenter();
31 idt1 <<
"This is a level " << 1 <<
" display." << std::endl;
34 idt0 <<
"Back to level 0." << std::endl;