std library hooks
Daniel Murphy
yebblies at nospamgmail.com
Sat Apr 14 08:51:31 PDT 2012
"Bernard Helyer" <b.helyer at gmail.com> wrote in message
news:dyuzdgjnjysfreewfcwh at forum.dlang.org...
> On Saturday, 14 April 2012 at 02:46:03 UTC, Walter Bright wrote:
>> [...]
>> 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
>
>
At least it doesn't crash with an AV when Satan isn't home anymore.
More information about the Digitalmars-d
mailing list