What are “::operator new” and “::operator delete”?
问题 I know new and delete are keywords. int obj = new int; delete obj; int* arr = new int[1024]; delete[] arr; <new> header is a part of C++ standard headers. It has two operators (I am not sure they are operators or they are functions): ::operator new ::operator delete these operators used like below: #include <new> using namespace std; int* buff = (int*)::operator new(1024 * sizeof(int)); ::operator delete(buff); What are "::operator new" and "::operator delete"? Are they different from new and