i am trying to understand about the new operator overloading, in mean while i got a deep confuse about that and my question over here is?
- How i can use new operator inside my overloaded new operator in both globally and locally.
Regarding global overload i found this link How do I call the original "operator new" if I have overloaded it?, but what about my local overloaded new operator. If any one give clarification about my question it will too help full for me.
Along with that i need to know which is the best way to overload new operator either locally or globally (may be its depends on my design) still i need to know for best design and performance purpose. Thank is advance