Points and Typedefs解决思路

Points and Typedefstypedef string *pstringconst pstring cstrcstr is a const pointer to string,即

Points and Typedefs
typedef string *pstring;
const pstring cstr;

cstr is a const pointer to string,

即是:
string *const cstr;

为什么不是 const string* cstr呢?

[解决办法]
标准就是这么规定的。
[解决办法]
http://blog.csdn.net/supermegaboy/article/details/4854965后半部分。
[解决办法]
由右向左的原则,即可分析得到结果