28 Aug
2015
28 Aug
'15
6:51 a.m.
On 28-Aug-15 5:28 AM, Niall Douglas wrote:
* I doubt that std::cerr should be in this library's code. Use of std::cerr is only when something truly unusual occurs, like we are about to fatal exit the process and I would assume the user would like to know why we just called std::terminate. Or we are about to deadlock, and again the user probably wants to know why their application has just hanged itself.
It might be helpful for some cases, but then what about Windows UI applications. I, for one, does not know a way to extract std::cerr of an app that does not have a console, so if this were a useful mechanism, it should use debug log there. - Volodya