Open JoelSjogren opened 9 months ago
This works as intended:
#include <utility> #include <iostream> std::pair<int, int> p = { 4, 8 }; { auto [a, b] = p; std::cout << a << std::endl; }
This causes the kernel to crash:
#include <utility> #include <iostream> std::pair<int, int> p = { 4, 8 }; auto [a, b] = p; std::cout << a << std::endl;
Kernel Restarting The kernel for [...] appears to have died. It will restart automatically.
This works as intended:
This causes the kernel to crash: