
16 Sep
2011
16 Sep
'11
10:19 p.m.
Ben Robinson <icaretaker <at> gmail.com> writes:
produced that can be run in a unit test framework. The key ingredient of my idea, is to allow the code to compile by conditionally replacing the failing static asserts with throwing a run-time exception. Now the code can compile, and unit tests can be written to confirm that each assertion either passes or fails as desired.
As they say: I'll believe it, when I see it ;) Until that time this is all too much vapor for me. As I mention in other post, you never explained how this condition is checked and who is going to check it: compiler, preprocessor, person. Gennadiy