In Visual Studio 2010 there have been some noticeable improvements in the C++ compiler. Microsoft licenses its C++ base implementation from a standards company. The last few versions of the compiler have not included the benefits of the code that has been updated in the last few versions of VS. Most of these improvements are low level and not too relevant to most .Net developers.
In the C++ world things must be considered that .Net developers for the most part never have to think about. However with C++ team working more closely with the people who update the main C++ definition we can expect years of upgrades for C++.
Although small it’s profound as well because performance enhancements will be available for an application simply by recompiling. Before upgrading you should check your project to make sure there are not compile errors.
As things were fixed to the standard it may expose some library include issues. Note that even core Microsoft products had compile issues because the standard does not dictate which libraries should be imported where. As the code was upgraded things were fixed to use less includes. When those were dropped people with existing code find a missing include library statement here and there.
Some specifics as I understood them were Perfect Forwarding with pointer references to improve use of shared pointers. A very practical improvement is the ability to move rather than copying elements of a vector. Today we occur overhead to copy items in a vector. There were improvements in the Variadic Templates. The ability to use type safe function arguments. Keep an eye out for the new Visual Studio.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5