Why int& a = is not allowed in C++?

前端 未结 3 2013
轻奢々
轻奢々 2021-01-18 05:47

I am reading about references in C++. It says that int& a = 5 gives compile time error.

In Thinking in C++ - Bruce Eckel, author says that

3条回答
提交回复
热议问题