C++ style: Stroustrup' s placement of pointer asterisks

后端 未结 3 428
鱼传尺愫
鱼传尺愫 2021-02-05 02:09

Does anyone know why Stroustrup\'s style is the placement of pointers as follows? Specifically, what Stroustrup has provided for guidance about this matter?

int         


        
3条回答
  •  渐次进展
    2021-02-05 02:49

    I believe stroustrup's style implies that variable declarations like those should be avoided. This also seems to be the general consensus among the community.

提交回复
热议问题