OpenImageIO/oiio — pull request #238 by lgritz (2012-03-02 02:14:34+00:00)
Title: New ASSERTMSG and DASSERTMSG

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]);