On 11 Nov 2020, at 23:10, Arthur O'Dwyer <arthur.j.odwyer@gmail.com> wrote:
On Wed, Nov 11, 2020 at 12:58 PM Peter C++ <peter.cpp@sommerlad.ch> wrote:The crux of dangling in many cases are member functions returning references (or pointers of views) If those functions would be lvalue-ref-qualified this dangling can not happen.This is a common misconception. Consult my blog post "Value category is not lifetime":–Arthur