Re: [boost] [c++ question] detecting reference to temporaries
25 Oct
2018
25 Oct
'18
2:47 p.m.
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 https://github.com/google/sanitizers/wiki/AddressSanitizerUseAfterScope
2226
Age (days ago)
2226
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikita Kniazev