Signal with return value will crash
Hi,
I tried the signals, the code below will crash
#include
On Nov 16, 2004, at 10:02 AM, WangYun wrote:
Hi,
I tried the signals, the code below will crash
#include
int _tmain(int argc, _TCHAR* argv[]) { boost::signal _sig; _sig(10); return 0; }
but code below works well
#include
int _tmain(int argc, _TCHAR* argv[]) { boost::signal _sig; _sig(10); return 0; }
The only difference is one has return value, the other doesn't, is this a bug or by design?
Sounds like a bug... could you give us more information? Compiler, platform, Boost version, etc. Doug
participants (2)
-
Doug Gregor
-
WangYun