Re: [Mingw-w64-public] unique_ptr and operator<

2015-07-05 Thread papa
You know what, it is true, I forgot the main(), but, bud, you nailed it! Ruben, it seems to me that you have a crystal ball or perhaps, somehow, you are able to access my computer and thus find out exactly what I mean, since I cannot, sometimes, express myself in the best way possible. If you don

[Mingw-w64-public] Possible memory leak caused by thead local storage

2015-07-05 Thread David Grayson
Hello. There is a handy tool called Dr. Memory, which I have been using to check for memory leaks in programs I develop with MSYS2 and mingw-w64: http://www.drmemory.org/ I noticed that it always reports a small memory leak for the application I was debugging. It's not a big deal, but it w

Re: [Mingw-w64-public] unique_ptr and operator<

2015-07-05 Thread Ruben Van Boxem
2015-07-05 15:40 GMT+02:00 : > Can anyone, pleeese, tell me why this extractor operator is not causing > this > error: > C:\tmp\adfs\main.cpp|20|error: no match for 'operator<<' (operand types are > 'std::wostream {aka std::basic_ostream}' and > 'std::unique_ptr')| > > namespace abc{ > class MyCla

[Mingw-w64-public] unique_ptr and operator<

2015-07-05 Thread papa
Can anyone, pleeese, tell me why this extractor operator is not causing this error: C:\tmp\adfs\main.cpp|20|error: no match for 'operator<<' (operand types are 'std::wostream {aka std::basic_ostream}' and 'std::unique_ptr')| namespace abc{ class MyClass{ private: int nuestro; public