Diagnostics for ADOBE_PRECONDITION(); or ADOBE_PRECONDITION(true, "", 3); are poor. If we could figure out how to static_assert something with a meaningful diagnostic in these cases it would be far better.
The tests should be updated to detect the improved diagnostics.
Diagnostics for
ADOBE_PRECONDITION();
orADOBE_PRECONDITION(true, "", 3);
are poor. If we could figure out how tostatic_assert
something with a meaningful diagnostic in these cases it would be far better.The tests should be updated to detect the improved diagnostics.