const reference parameters

前端 未结 0 662
-上瘾入骨i
-上瘾入骨i 2020-12-23 02:06

Is there a difference between the following declarations?

void somefunc(const Person &p);
void somefunc(Person const &p);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题