Search

August 19
General »
As an option, you can just catch it:

```D
void main()
{
    import core.exception : AssertError...
August 18
General »
And there is of course inlining that needs to be disabled for an "overridable" function...
August 19
General »
This needs some context.

It only applies to object files and executables, the moment shared...
August 18
General »
...condition were stringified and handed to the assert handler... that seems like a weird oversight?

August 17
General »
Yes, that is a botched design that makes things much more complicated than necessary.
August 17
General »
...aware of this, and so the assert handler is set up as a pointer to...
August 17
General »
You can set the handler in a CRT constructor, which avoids any cycles and makes...
August 17
General »
I use custom runtime + `-betterC`, but this also works on run.dlang.io with no...
August 17
General »
...I'd rather just replace the assert handler symbol directly. Using `assertHandler` is awkward because...
August 17
General »
```
import core.stdc.stdio;

void main()
{
    assert(false, "no");
}

extern(C) void _d_assert_msg...
1 2 3
Next ›   Last »