在C++中实现单例时,GetInstance()返回指向单例对象或引用的指针是否更好?真的有关系吗?
c++ singleton pointers reference
c++ ×1
pointers ×1
reference ×1
singleton ×1