C++ 中 vertices.push_back(this) 和 vertices.push_back() 的区别
vertices.push_back(this) 将当前对象指针 this 添加到 vertices 容器中,而 vertices.push_back() 则是将一个元素添加到 vertices 容器中。两者的作用不同,前者添加的是当前对象指针,后者添加的是一个元素。
原文地址: https://www.cveoy.top/t/topic/pza5 著作权归作者所有。请勿转载和采集!