Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-04-06 06:57:51


> So the __noreturn__ command used by GNU's /usr/include/assert.h couldn't
> be
> used?
>
> /* This prints an "Assertion failed" message and aborts. */
> extern void __assert_fail (__const char *__assertion, __const char
> *__file,
> unsigned int __line, __const char *__function)
> __THROW __attribute__ ((__noreturn__));

Wouldn't that have to be applied to your function signature, rather than the
assertion?

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk