[Issue 5547] Improve assert to give information on values given to it when it fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 5 15:44:53 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5547



--- Comment #7 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-05 15:45:23 PDT ---
> On further reflection, I think that this is more properly the domain of a
library template

I'm fine with having a helper function that does this, but the whole reason
that this enhancement was created in the first place was because enough folks
in the newsgroup thought that that it should be built into assert rather than
creating a new function to do it.

Though it should be noted that the library function does tend to cause memory
issues as well, since you end up with a lot of different instantiations for it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list