link的Boolen使用1个字节还是2个字节?为什么要这样,是不是性能会低?
一个字节。你有两个办法验证:(1)bool b;int i = sizeof(b)(2)看msdn恰恰相反,用字节反倒性能高。具体google数据对齐。