I have a code base that is using many instances of detached boost::thread
as folllows
boost::thread th( boost::bind(&myFunc,var1, var2 ));
Can I simply do a search replace and start using std::thread
?
Do I need to replace boost::bind
with std::bind
too or that is unnecessary?
( I found I could do search replace boost::shared_ptr
with std::shared_ptr
and boost::scoped_ptr
with std::unique_ptr
so far without any issues.
My platform is Visual Studio 11 on Windows 7.