1. auto (page107) auto 推断会忽略const const int ci = i, & cr = ci; auto b = ci; // b is an int (top-level const in ci is dropped) auto c = cr; // c is an int (cr is an alias for ci whose const is top-level) auto d = & i; // d is an int*(& of an
Downloads Download the source files for GCC 4.7.0. Download the source code files for MS Visual Studio 2012 Download the source code files for GCC pre-C++ 11 compilers 2012. Download the source code files for Microsoft pre-C++ 11 compilers. 参考链接: htt