escaping addresses of ref parameters - not

Brad Roberts braddr at puremagic.com
Mon Feb 9 00:10:18 PST 2009


Bartosz Milewski wrote:
> Of course, enforce(mdgt); is there only for documentation purposes.
> Just like null dereference, it halts the program, right?

What sort of documentation do you have that's able to stop a program in
it's tracks? :)

Yes, it's not a compile time check, it's a run time check.  It's
different from assert() in that it still happens even in release builds.

Later,
Brad



More information about the Digitalmars-d mailing list