#include <iostream> using namespace std; struct struct1{ /* struct1(){ cout<<"this is output by struct1 !"; } if add this code block , such errors like 'you must initlizer data number of struct1 by constructor in g++98' will occor in
转 http://www.cnblogs.com/chen3feng/p/5972967.html?from=timeline&isappinstalled=0&lwfrom=user_dingfriend Google C++ Style Guide在C++11普及后的变化 一般比较规范的项目都有一个代码规范,Google C++ Style Guide(以下简称GCSG)是比较流行的C++代码规范,为什么我会分析它?因为我们现在就在用. C++代码规范一般有两个方向,一个方向是很保守,