prohibit that the returned reference of a function is overridden by a assignment

前端 未结 0 1064
无人共我
无人共我 2021-02-02 16:12

is there any way, in C++ 17, to prohibit that the returned reference of a function is overridden by a assignment like the following:

class Error{
  public:
    E         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题