span
span copied to clipboard
‘terminate’ is not a member of ‘std’
When compiling with exceptions disabled, I run into the following issue on gcc 12.1.0 using c++17:
error: ‘terminate’ is not a member of ‘std’
73 | std::terminate();
| ^~~~~~~~~
I need to include <exception> before span.hpp in order to fix it. Am I doing something wrong?
Someone had the same issue with MSVC and suggested a patch #53
cool,I don't mind including <exception> myself for now but i'd appreciate it being fixed on master eventually as I add span as a submodule.