what does this function declaration mean in c++

前端 未结 11 1748
-上瘾入骨i
-上瘾入骨i 2020-12-24 13:12
virtual const char* what() const throw()
{

}

AFAIK it\'s a function that will return a constant pointer to a mutable char. The rest I am not sure.

11条回答
  •  有刺的猬
    2020-12-24 13:23

    It actually returns a mutable pointer to a constant character block.

    The rest is already explained by others.

提交回复
热议问题