Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!amb From: amb@Apple.COM (A. Michael Burbidge) Newsgroups: comp.lang.c++ Subject: Why is << in the class ostream not virtual? Message-ID: <45575@apple.Apple.COM> Date: 11 Oct 90 17:42:39 GMT Organization: Apple Computer Inc., Cupertino, CA Lines: 9 I am trying to create a class that is derived from ostream. The new class has only one additional behavior. It will optionally ignore output requests. Two additional methods called On and Off control whether output is ignored. Everything was going great until I discovered that the << operators in ostream are not virtual. Why? Any other ideas on how to accomplish the task at hand. Mike Burbidge amb@apple.com