shared_ptr::operator-> does not fail for nullptr

Jonathan Wakely jwakely.gcc@gmail.com
Thu Jun 12 18:47:00 GMT 2014


On 12 June 2014 13:15, Christoph Mathys wrote:
>> If you compile with -D_GLIBCXX_DEBUG there will be an assertion.
>
> Thanks for the hint. I presume it is still true that I have to compile
> every c++library I use with this option as well? ([0])

https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode_using.html#debug_mode.using.mode



More information about the Gcc-help mailing list