unique_ptr difference between libstdc++ and libc++ crashes your application

Saturday, 20 February 2021  |  David Faure
Categories: C++
Thanks to the KDE FreeBSD CI, which runs our code on top of libc++, we discovered an interesting difference between libstdc++ and libc++'s implementation of unique_ptr. This is quite unexpected, and the actual result for users is even more unexpected: it can lead to crashes in specific situations. Read More