23 May
2013
23 May
'13
1:40 p.m.
It seems to be a MSVC related issue; Unless the templated function (make_shared in this case) is in the same namespace as the called templated function (f in this case) MSVC throws an error.
Good finding, thanks!
Note however that the following does compile in MSVC:
#include