Re: pointers and Windows debugging
From: Florin Iucha <florin_at_iucha.net>
Date: 2003-01-07 01:26:19 CET
On Mon, Jan 06, 2003 at 04:19:35PM -0800, rbb@rkbloom.net wrote:
Asserts are not for argument checking.
Argument checking is for verifying inputs to your module/function/method.
Application
You would put argument checks in the interface methods and add asserts in the
> As for pointers
And what if it does not segfault but randomly scribbles some buffer
Cheers,
-- "NT is to UNIX what a doughnut is to a particle accelerator."
|
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.