John Weiss wrote: > One could certainly add an "assert" to a trace class. You'd then need > a 3-state "#define" constant: undefined (for the no-op defn.), > defined, gentle mode (does not abort), defined, harsh mode (aborts). > > [Note: I'll provide my own "Trace.{h,cc}" files on request.]
Here's your request. I'd love to see it. > There are ways to deal with this, and I've always wanted to write a > generic framework for creating such tests. Just never had the > chance. Well, here's your chance ;-) -- Angus