A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
Sorry to use an issue for this, but I don't know how else to ask. How can tests be self-registering? Isn't the compiler allowed to dead-strip those AutoReg instances? Maybe it just happens to work on all shipping compilers?
Thanks for indulging this misplaced question,
Dave
Sorry to use an issue for this, but I don't know how else to ask. How can tests be self-registering? Isn't the compiler allowed to dead-strip those
AutoReg
instances? Maybe it just happens to work on all shipping compilers?Thanks for indulging this misplaced question, Dave