#include <thread>
#include <boost/thread/tss.hpp>
class
Run
{
public
:
void
operator
(
)
(
)
const
{
}
private
:
boost
::
thread_specific_ptr
<
int
>
local
;
}
;
int
main
(
int
argc,
char
*
argv
[
]
)
{
Run run
;
thread t
(
run
)
;
return
0
;
}