title: C++中的引用传值和用指针传值有什么区别，哪种方式更优？
topic: C++
content: Reference in C is nothing more than a syntax sugar. Its purpose is nothing more than making invocations to overloaded operator upon custom data type a bit prettier. And operator overloading is nothing more than another syntax sugar. Just a syntax sugar invented for another syntax sugar. 有必要声明一下，徐辰 已经将我加入黑名单。作为一个在答案中首先提及我，然后又不允许继续讨论的行为，还是有必要
answerer_tags: Adobe 程序员