I am creating a warpper for the boost::thread class. Many of our users do not like the boost's own types. So I have this function in my classs
to give the users in std types.
The getId() simply get the id of the composed boost::thread object within my class. But the problem is boost::thread return their own type boost::thread::id when I call call the get_id() of the boost::thread . I want to oconvert this to long in my getId() functiion. So in essence...
how to convert
boost::thread::id to long?