incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <>
Subject Static assertions in tests?
Date Wed, 09 Jul 2008 21:51:30 GMT
For compile-time tests, would it be preferable to use a static assertion
or continue using good ol' rw_assert() even for compile-time checks?  In
the former case, the test will fail to build and, in the latter case,
the compile-time check will not be easily distinguisable from other
runtime assertions.


View raw message