Reputation: 3072
Can I get VS 2012 standard library in VS 2010?
VS 2012 has such good things from C++11 as threading.
I think that installing VS2012 redist and replacing the contents of include and lib folders with VS2012 one will be enough.
Has anyone done this?
Upvotes: 0
Views: 469
Reputation: 76519
No.
Reasons: ABI, Standards conformance and compiler hacks necessary to compile the libraries, etc...
A different redistributable will not get you the development files. Renaming the DLL's in them might get you the new library at runtime, but it will most likely crash and burn if you try to do that.
It seems I did not make myself clear enough: DO NOT DO THIS!! It will not work, and if it seems to work, you either didn't use anything worth the hassle or you're relying on a walking time bomb. Not to mention licensing issues.
Upvotes: 7