std library hooks
Mehrdad
wfunction at hotmail.com
Sat Apr 14 02:04:07 PDT 2012
lmao
"Bernard Helyer" wrote in message
news:dyuzdgjnjysfreewfcwh at forum.dlang.org...
On Saturday, 14 April 2012 at 02:46:03 UTC, Walter Bright wrote:
> On 4/13/2012 5:14 PM, Francois Chabot wrote:
>> All I want, and I can guarantee that this is what Manu wants as well, is
>> the
>> ability to squeeze an asm { int 3; } or equivalent so that I can drop
>> into my
>> debugger at the point of assertion failure before the stack unwinds.
>
> all assert(exp) does when it trips is call a function in the library. If
> you provide your own version of that function, the one in the library
> won't be linked in.
Unless exp is an object instance. Then it contacts Satan first
before calling the function. :P
More information about the Digitalmars-d
mailing list