From: Bo Persson (bop_at_[hidden])
Date: 2004-05-20 15:40:26


"Max Khesin" <MKhesin_at_[hidden]> skrev i meddelandet
news:4B6FB7F60D37D41188C300B0D022E0C0029F42D9_at_exchange.lnholdings.com...
> I also used this idom, it is very nice. One thing to watch out for is
'false
> positives' from other global/static objects that do mallocs.
>
> leak_reporter leak_reporter::instance;
> std::string i_will_trigger_leak_report;
>
>

Another well known problem is that std::cin and std::cout will have to
keep its locale info around until everything else has been shut down.

Bo Persson