On 2/12/10 12:32 PM, Frank Schoenheit, Sun Microsystems Germany wrote:
On the topic of "what is an assertion": Yes, assertions should abort.
Otherwise, they are not an assertion, but something that is better
covered by OSL_TRACE.

Sigh. Again: No matter how the term "assertion" is defined in theory, in
practice there are *hundreds* or *thousands* of "assertions" (aka usages
of DBG_*) which do not match the definition. Saying "Assertions should
abort because otherwise they're not assertions" is, sorry, just closing
your eyes against reality.

+1

--
Sanity is just a bad excuse for a lack of imagination.
     -- Author unknown

Registered Office: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Commercial register of the Local Court of Munich: HRB 161028
Managing Directors: Thomas Schröder, Wolfgang Engels
Chairman of the Supervisory Board: Martin Häring

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to