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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Bug
C#
C++
C++0x
GCC
Optimization
Reverse Engineering
VC
Archive
Archives
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)
March, 2010
MSDN Blogs
>
Van's House
>
March, 2010
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Van's House
VC's "evil" extension: Pre-definition of basic types
Posted
over 2 years ago
by
Xiang Fan
0
Comments
In VC, you may find that you can use "size_t" directly without including any headers. size_t i = 0; int main() { atexit(0); } However, "size_t" is not a built-in type. It is a typedef in <stddef.h>. So what's the magic? In VC compiler, it...
Van's House
VC's "evil" extension: Implicit definition of static constant member
Posted
over 2 years ago
by
Xiang Fan
0
Comments
C++ supports in-class initialization of static integral constant members. It is nearly the same as enum, with the following difference (quoted from C++03 9.4.2.4 ([class.static.data])): The member shall still be defined in a namespace scope if it is...
Van's House
VC's "evil" extension: $
Posted
over 2 years ago
by
Xiang Fan
2
Comments
In C++, only a few characters can be used as part of the identifier. identifier: identifier-nondigit identifier identifier-nondigit identifier digit identifier-nondigit: nondigit universal-character-name other implementation-defined characters nondigit...
Page 1 of 1 (3 items)