Prev: Why doesn't VS2008 detect this warning
Next: throwing an exception... on behalf of another thread
From: Leigh Johnston on 8 Mar 2010 12:26 "David Lowndes" <DavidL(a)example.invalid> wrote in message news:sb9ap5he6g7s88j7ifkj0kgaegivaqpftn(a)4ax.com... >>The following doesn't compile in VS2008: >> >>#include <functional> >> >>struct foo >>{ >> void operator()() { } >>}; >> >>int main() >>{ >> foo o; >> std::tr1::bind(o)(); >>} >> >>Has this been fixed in VS2010? > > It's the same with the VC2010 RC compiler. > > Dave Raised as https://connect.microsoft.com/VisualStudio/feedback/details/540098/problem-with-non-const-operator-and-bind# Please vote. /Leigh
First
|
Prev
|
Pages: 1 2 Prev: Why doesn't VS2008 detect this warning Next: throwing an exception... on behalf of another thread |