[Issue 4644] assertExceptionThrown to assert that a particular exception was thrown
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 17 15:57:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4644
--- Comment #15 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-08-17 15:57:03 PDT ---
@Andrej
size_t is an alias appropriate for whatever your architecture is. IIRC, it's
the same size as pointers are, but I'm not 100% sure on that. It's also the
type used for indexing arrays. For 32-bit, that would be int or uint. For
64-bit, that's going to be long or ulong.
I'm not sure why you're getting that error, but it works fine with the version
that I just attached to the bug. Overall, I think that the functions look good.
Ideally, you wouldn't have to use LineInfo at all, but thanks to variadic
templates, we're kind of stuck. It was a good idea though. In any case, I think
that we now have a proper, working implementation of these functions. Now if
they'd only be put into Phobos... ;)
--
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