Relative Content

Tag Archive for c++objectc++17language-lawyerc++20

Does implicit lifetime object creation apply before C++20?

Several SO posts are telling that implicit-lifetime object creation has been introduced with C++20 and, indeed, I can’t find mention of it in drafts for older C++.
Yet cppreference does not indicate a restriction for the langage version, except this cryptic (to me) DR at the bottom of https://en.cppreference.com/w/cpp/named_req/ImplicitLifetimeType: