5
const ref undefined behavior에 의해 새로 생성 된 객체를 캡처하고 있습니까?
다음 (확인 된 예)입니까, 아니면 정의되지 않은 동작입니까? // undefined behavior? const auto& c = SomeClass{}; // use c in code later const auto& v = c.GetSomeVariable();