Re: abort or verify?
From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-11-11 01:19:28 CET
Justin Erenkrantz wrote:
>> Let me propose to use "verify" instead of "assert", where "verify" is
Yes, but the following would almost do the trick:
#define verify(x) do { assert(x); if (!(x)) abort(); } while(1)
> But, if you satisfy the requirement that the checks always occur, then
Quite.
-- Brane
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.