Boost logo

Boost :

Subject: Re: [boost] [c++ question] detecting reference to temporaries
From: Nikita Kniazev (nok.raven_at_[hidden])
Date: 2018-10-25 14:47:50

> Is there any technique that would let me test for reference to
> temporaries? The only option I see would be to promote compiler warnings
> into error, but maybe there is something there?

AddressSanitizer with -fsanitize-address-use-after-scope

Boost list run by bdawes at, gregod at, cpdaniel at, john at