[geos-devel] RE: JTS Assert class
Martin Davis
mbdavis at VividSolutions.com
Mon Feb 6 12:08:53 EST 2006
Yep, that's the intention.
It should be no problem replacing it with the standard C++ assert. We
only used our own class because at that time Java did not have a
built-in assert facility.
Martin Davis, Senior Technical Architect
Vivid Solutions Inc. www.vividsolutions.com
Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5
Phone: (250) 385 6040 - Local 308 Fax: (250) 385 6046
> -----Original Message-----
> From: strk [mailto:strk at keybit.net]
> Sent: February 6, 2006 4:29 AM
> To: Martin Davis
> Cc: geos-devel at geos.refractions.net
> Subject: JTS Assert class
>
>
> Martin, am I right assuming the Assert
> class to be only used to catch developer
> errors (as contrary to user input execptions)?
>
> I'm thinking about changing all Assert::isTrue()
> calls with assert() macro provided by standard
> C++ lib. An expression evaluating to false
> will abort the program.
>
> --strk;
>
> +----------------------------------------+
> | Fight against software patents in EU! |
> | www.ffii.org www.nosoftwarepatents.org |
> +----------------------------------------+
>
>
More information about the geos-devel
mailing list