标签:des style http io ar strong for div sp
非静态成员变量初始化变得简单
As a simple example,
class A { public: int a = 7; };
would be equivalent to
class A { public: A() : a(7) {} };
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2756.htm
C++11 Features Supported by RAD Studio Clang-based C++ Compilers
http://docwiki.embarcadero.com/RADStudio/XE7/en/C%2B%2B11_Features_Supported_by_RAD_Studio_Clang-based_C%2B%2B_Compilers
The C++11 standard includes the multi-variable form of auto
declarations, such as:
int* func(){}
int _tmain(int argc, _TCHAR* argv[])
{
auto x = 3, * y = func(), z = 4;
return 0;
}
标签:des style http io ar strong for div sp
原文地址:http://www.cnblogs.com/cb168/p/3983302.html