00001 00002 #include "DestroyingDeleter.h" 00003 #include "MultiMessageDebugStream.h" 00004 00005 namespace Sct { 00006 namespace DestroyingDeleterHelper { 00007 void complain() { 00008 MultiMessageDebugStream m(true,true,true); 00009 m << "DestroyingSharedPtr was trying to _destroy something, but unfortunaltely that _destroy method threw an exception. We are in a method that is not permitted to throw exceptions, so we will now catch it, but THIS IS NOT SUPPOSED TO HAPPEN! DO NOT TRUST further output! (And bear in mind that memory is probably now leaking!)"; 00010 m.flush(); 00011 }; 00012 }; 00013 };