34 #ifndef CARTOBASE_EXCEPTION_ASSERT_H 35 #define CARTOBASE_EXCEPTION_ASSERT_H 51 const char*
file()
const;
52 int line()
const throw();
65 #if defined( __GNUC__ ) \ 66 && ( __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ >= 3) ) 76 inline void test_assert(
bool x,
const char * ex,
const char *file,
int line )
81 #define ASSERT( EX ) ( carto::test_assert( (EX), #EX, __FILE__, __LINE__ ) )
void assert_failed(const char *, const char *, int)
assert_error(const char *assertion, const char *file, int line)
void test_assert(bool x, const char *ex, const char *file, int line) __attribute__((nonnull))
const char * file() const