Van's House
I'm a developer at C++ team. I'm interested in everything related to C++
I'm recently investigating a VS feedback on compilation time. There are some interesting findings...
Date: 03/07/2017
I generate a new table of connect bugs that I have fixed after I published my last post: 749130...
Date: 02/24/2016
I lost access to my MSDN blog account for some reason and regained it recently. I also spent some...
Date: 02/24/2016
Four and half a year ago (how time flies), I wrote a post about the potential issues mixing debug...
Date: 03/25/2013
Similar to STL's post on vcblog, I generate a table of connect bugs that I have fixed after I...
Date: 12/28/2012
Our team announced Novemeber CTP of Visual C++ compiler. It contains the following C++11 features...
Date: 11/03/2012
Again, System.Uri tries to be smart and does something on my behalf :-( This time, the victim is...
Date: 02/06/2012
This is an article written by Jan Gray. It is quite old, but most of the contents still apply today....
Date: 02/06/2012
In GoingNative 2012, there are some discussions on the new coding style for C++11. One interesting...
Date: 02/03/2012
I use C# a lot to write small utilities and sometimes find that it is annoying to have to dig into...
Date: 01/15/2012
Throughput of iostream is considered much slower compared with its C counterpart. For example:...
Date: 01/12/2012
Someone reminds me that it has been nearly 2 years since my last blog post. How time flies! Many...
Date: 01/07/2012
Summary Page (n3090.pdf is the current working draft of C++0x standard, it is available at...
Date: 05/10/2010
- decltype(*&function) https://connect.microsoft.com/VisualStudio/feedback/details/510640 int...
Date: 05/09/2010
Summary Page (n3090.pdf is the current working draft of C++0x standard, it is available at...
Date: 05/09/2010
Summary Page (n3090.pdf is the current working draft of C++0x standard, it is available at...
Date: 05/09/2010
Summary Page (n3090.pdf is the current working draft of C++0x standard, it is available at...
Date: 05/09/2010
VC2010 has been released for a while. It adds many C++0x features (The complete list can be found...
Date: 05/09/2010
In VC, you may find that you can use "size_t" directly without including any headers.size_t i =...
Date: 03/03/2010
C++ supports in-class initialization of static integral constant members. It is nearly the same as...
Date: 03/03/2010
In C++, only a few characters can be used as part of the identifier. identifier: identifier-nondigit...
Date: 03/03/2010
What is inline? This keyword is mainly used to ask the compiler to inline substitution of the...
Date: 11/25/2009
I’m glad that our team blog is now online (https://blogs.msdn.com/vcshblog/). It is in Chinese and is...
Date: 09/11/2009
According to C standard, it only supports output text in MBCS (Multi-Byte Character String):...
Date: 08/04/2009
IDA Pro 5.5 ships 12th of June 2009. The change list is here:...
Date: 06/17/2009
This is an intellectual exercise: when shifts a 32-bit unsigned integer in C++, how to detect...
Date: 06/13/2009
Many recursive algorithms have initial parameters. For example, Fibonacci Number is defined as: Fn =...
Date: 05/23/2009
NOTICE: The technique describes in the article may not be supported in future release of VC. You...
Date: 05/12/2009
Matrix multiplication is common and the algorithm is easy to implementation. Here is one example:...
Date: 04/28/2009
Object slicing often happens when you pass the object by value. Compiler will do implicitly...
Date: 03/22/2009
C++0x will provide a full set of type traits helpers to ease generic programming. However, there is...
Date: 02/09/2009
C++0x will be released in the near future. Do you know the changes of standard library? Here is a...
Date: 01/12/2009
Unfortunately, VS2008 SP1 doesn't recognize C++ tr1 headers. That means there are no syntax...
Date: 12/12/2008
MSDN has a page describing various VC extensions. But it is far from complete. I've collected a list...
Date: 12/11/2008
In C++, it is well-known that the data in the vector is contiguous. To be more specific, here is the...
Date: 12/04/2008
As the designer of base class, you may hesitate whether to use private or protect access control....
Date: 10/15/2008
IDA Pro is the world-class disassembler. It's a very useful reverse engineering tool. Now the demo...
Date: 10/05/2008
NOTICE: The following is not intended for real-world application. It is just an intellectual...
Date: 09/27/2008
; based on tiny.asm, modified by xiangfan ;e_cblp 2b;tbl 1b;hexstr 1b;LoaderFlags 4b BITS 32 ;; MZ...
Date: 09/27/2008
NOTICE: The following is not intended for real-world application. It is just an intellectual...
Date: 09/19/2008
Obfuscation is widely used to protect your code from reverse engineering.Here is one example which...
Date: 09/16/2008
In "Effective C#", Bill Wagner says "Always create an override of ValueType.Equals() whenever you...
Date: 09/01/2008
Someone may wonder what the difference is between Debug and Release mode, and whether it is possible...
Date: 08/30/2008
In VC STL, there are two macros called "_HAS_IMMUTABLE_SETS" and "_HAS_STRICT_CONFORMANCE" which are...
Date: 08/30/2008
There are many useful online c++ compilation service providers. You can use them to do conformance...
Date: 08/29/2008