Re:C++26 is done ISO C++ standards meeting, Trip Report
by yolina on Tuesday March 31, 2026 @05:14AM
(#47584656)
You pretty much need lifetime tracking to make it foolproof.
A quick dirty hack would be to have a static analyzer drop B from the symbol table after it sees std::move and give a warning, but that obviously wont catch other references to it, but maybe it will catch the low hanging fruit.
A quick dirty hack would be to have a static analyzer drop B from the symbol table after it sees std::move and give a warning, but that obviously wont catch other references to it, but maybe it will catch the low hanging fruit.