6 Mar
2013
6 Mar
'13
11:34 p.m.
AMDG On 03/06/2013 03:06 PM, gast128 wrote:
<snip>
void foo() { std::identity<int> bla;
boost::function
fc(bla); boost::function fc2 = bla; boost::function fc(boost::ref(bla)); boost::function (bla); //<-- } first 3 are ok, but the last one vstudio sees this as redefintion of bla of type 'boost::function
. What (and why) do I wrong or should use an explicit cast in the last case?
The last line is treated the same as:
boost::function