operator 报错passing 'const point' as 'this' argument of 'bool point::operator<(point)' d

debug
解决方案:在方法体前加const
gcc版本:4.7.23

posted @ 2022-04-03 14:49  ethon-wang  阅读(125)  评论(0编辑  收藏  举报