If one is using exceptions to replace assertions for debugging/testing purposes.
Does it make sense to declare a function noexcept conditionally
noexcept