
7 Mar
2013
7 Mar
'13
8 a.m.
thx, I got a simpeler case without Boost.Function:
struct Bla { template <typename T> Bla(T t){ t; } };
void Test() { std::identity<int> id;
Bla(id); //<- }
From curiosity (and not a Boost.Function question anymore), which c++ rule kicks on to treat as a declaration?
Most vexing parse: http://en.wikipedia.org/wiki/Most_vexing_parse