C++0x, thread, promise and future
Jonathan Wakely
jwakely.gcc@gmail.com
Fri Jul 15 21:56:00 GMT 2011
I tried to test your code, but its not a reproducable test case, it
has bits of text in the middle saying "I use this class in my main"
It would be easier if you post code that others can compile and run,
not snippets of code that don't form a complete program.
And as Paolo suggested, questions like this should go to the gcc-help
mailing list if you're just asking for help using the library.
At a guess, did you compile with -pthread to enable thread support?
More information about the Libstdc++
mailing list