"error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction]" is produced on both the callsite and the line with throw.
However, with template parameter == true it should be impossible for the function to throw
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction]" is produced on both the callsite and the line with throw.
However, with template parameter == true it should be impossible for the function to throw
Thanks for reporting. ticket is here: https://trac.cppcheck.net/ticket/11691