|
|
1.1 ! root 1: /* ident "@(#)ctrans:src/print_self.c 1.2" */ ! 2: /* print_self_default.C -- bailout versions of print_self and format_self */ ! 3: /* ! 4: $Source: /usr2/odi/lib.src/RCS/print_self_default.C,v $ $RCSfile: print_self_default.C,v $ ! 5: $Revision: 1.4 $ $Date: 89/09/19 11:49:58 $ ! 6: $Author: benson $ $Locker: $ ! 7: $State: Exp $ ! 8: */ ! 9: ! 10: #include "print_self.h" ! 11: ! 12: int ostream_printf (ostream&, const char * ...); ! 13: ! 14: int _Print_self::print_self (ostream& stream) const ! 15: { ! 16: return ostream_printf (stream, "<%s at 0x%p>", ! 17: this->type_name(), (void *) this); ! 18: } ! 19: ! 20: int _Print_self::format_self (ostream& stream) const ! 21: { ! 22: return ostream_printf (stream, "<%s at 0x%p>", ! 23: this->type_name(), (void *) this); ! 24: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.