C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

Quick Tips On Using Whole Program Optimization

Hi, I’m Jerry Goodwin from the Visual C++ code generation and optimization team, with a couple quick tips on using Whole Program Optimization, also referred to as Link Time Code Generation (LTCG).  If you’re writing native C++ code, you can typically speed up your optimized code by about another 3-4% by adding the /GL flag to ...
Comments are closed.0 0
C++

MFC Restart Manager Support in VS2010

Hi, I am Weidong Huang, a Software Design Engineer in Test in the Visual C++ group.  Today I am going to talk about MFC’s support of Restart Manager functionality -- a very amazing feature in VS2010.   What is Restart Manager? Restart Manager is a new feature introduced by Microsoft’s Windows Vista operating system.  It...
Comments are closed.0 0
C++

Rvalue References: C++0x Features in VC10, Part 2

Part 1 of this series covered lambdas, auto, and static_assert.   Today, I'm going to talk about rvalue references, which enable two different things: move semantics and perfect forwarding.  This post will be long, because I'm going to explain how rvalue references work in great detail.  They're initially very confusing because they ...