Steigern Sie den Fadenertrag in Catch Exception BlockC++

Programme in C++. Entwicklerforum
Anonymous
 Steigern Sie den Fadenertrag in Catch Exception Block

Post by Anonymous »

Ich untersuche derzeit ein Crash -Szenario in Windows, das durch die Durchführung eines Boost -Ertrags in einem C ++ - Catch -Block verursacht wird. Hier ist ein minimal reproduzierbares Beispiel, das zu einem Absturz in Windows führt (zumindest für mich). Stellungnahme. Ich denke, dass etwas im Stapel entspannt und ergibt mischt sich nicht richtig. Irgendeine Idee, ob es sich um ein bekanntes Problem handelt? < /P>

Code: Select all

#include 
#include 
#include 
#include 

void throwException() {
throw std::runtime_error("exception");
}

void task() {
try {
throwException();
} catch (const std::runtime_error& e) {
std::cout

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post