Sign in
Van's House
I'm a developer at C++ team. I'm interested in everything related to C++
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Bug
C#
C++
C++0x
C++11
GCC
Optimization
Reverse Engineering
VC
Archive
Archives
March 2013
(1)
December 2012
(1)
November 2012
(1)
February 2012
(3)
January 2012
(3)
May 2010
(6)
March 2010
(3)
November 2009
(1)
September 2009
(1)
August 2009
(1)
June 2009
(2)
May 2009
(2)
April 2009
(1)
March 2009
(1)
February 2009
(1)
January 2009
(1)
December 2008
(3)
October 2008
(2)
September 2008
(6)
August 2008
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Van's House
Contiguousness of STL containers and string
Posted
over 5 years ago
by
Xiang Fan
1
Comments
In C++, it is well-known that the data in the vector is contiguous. To be more specific, here is the quotation from the standard (C++03, 23.2.4/1) The elements of a vector are stored contiguously, meaning that if v is a vector<T, Allocator> where...
Van's House
Enable syntax highlighting for TR1 headers in VS2008 SP1
Posted
over 5 years ago
by
Xiang Fan
3
Comments
Unfortunately, VS2008 SP1 doesn't recognize C++ tr1 headers. That means there are no syntax highlighting and no intellisense for these files. This is a bug, but you can fix it by yourself. The trick is in the registry. VS maintains a list of extensionless...
Van's House
VC extensions list
Posted
over 5 years ago
by
Xiang Fan
2
Comments
MSDN has a page describing various VC extensions. But it is far from complete. I've collected a list of nonstandard extensions provided by VC, some of them are evil . If you want to write standard conformant C++ code, you'd better be aware of these...
Page 1 of 1 (3 items)