operator new, operator new[], operator delete, and operator delete[] are special functions which can be replaced (not overloaded) by user-provided functions with matching signatures. Just write them and the C++-supplied new/delete will disappear in any translation unit where your declarations are visible.
if i define these functions globally , all the linked library will use this overloaded function..i dont what this behavior.. only my library should use this overloaded function , not library which linked to my library.