PDA

View Full Version : overloading global "new" operator



mickey
10th April 2008, 17:01
Hello,
In the "thinking in c++" (online edition) on page 569, it says that "don't put a 'cout' inside redefinition of 'new', because 'cout' call a 'new'; so it goes in a loop. I tried, but it doens't occur (it works even with cout) to me. Any explainations, please?