error C3848: expression having type would lose some const-volatile qualifiers in order to call "bool operator()(const Point3 &lhs, const Point3 &rhs)"
解决:
bool operator()(const Point3 &lhs, const Point3 &rhs)
改为
bool operator()(const Point3 &lhs, const Point3 &rhs) const