NsCore/Exception.h failed to compile under VS2013
Posted: 28 Sep 2014, 15:43
error C2039: 'copy_exception' : is not a member of 'std'
std::copy_exception was used in tbb_exception.h, line 350
AFAIK, VS2013 doesn't have this, the C++x0 std::copy_exception was renamed to std::make_exception_ptr in final version of C++11 standard.
Update: After digging the header file a little, I found that defining NS_SINGLE_THREADED did the trick. But I don't know if I should do that
std::copy_exception was used in tbb_exception.h, line 350
AFAIK, VS2013 doesn't have this, the C++x0 std::copy_exception was renamed to std::make_exception_ptr in final version of C++11 standard.
Update: After digging the header file a little, I found that defining NS_SINGLE_THREADED did the trick. But I don't know if I should do that
