They allow even more flexible assertion messages with full printf argument
generality.
Example:
ASSERTMSG (a[i] == 0, "bad array value, a[%d] = %g", i, a[i]);
You can merge this Pull Request by running:
git pull https://github.com/lgritz/oiio lg-assert
Or you can view, comment on it, or merge it online at:
https://github.com/OpenImageIO/oiio/pull/238
-- Commit Summary --
* New ASSERTMSG and DASSERTMSG allow even more flexible assertion messages with
full printf argument generality.
-- File Changes --
M src/include/dassert.h (19)
-- Patch Links --
https://github.com/OpenImageIO/oiio/pull/238.patch
https://github.com/OpenImageIO/oiio/pull/238.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenImageIO/oiio/pull/238
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org