
25 Jan
2010
25 Jan
'10
2:08 p.m.
Jeff Flinn wrote:
The last statement below fails to compile with boost 1.39.0 on MSVC 8. Am I doing anything obviously wrong? Any help is appreciated.
...
boost::bind(&boost::make_shared
, boost::ref(i));
Under C++03 compilers, make_shared takes its arguments by const reference:
template