std_exp.cpp
Код: Выделить всё
#include
#include
#include
using namespace std;
int main() {
try {
std::string s{nullptr};
} catch (const std::exception &e) {
std::cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/78748545/why-exception-can-not-be-caught-on-windows-by-msvc-but-on-linux-by-gcc[/url]
Мобильная версия