C++26: std::indirect -- Sandor Dargo
Sandor Dargo examines std::indirect, one of two vocabulary types added in C++26 through P3019R14 by Coe, Peacock and Parent. std::indirect gives a dynamically allocated object value semantics, with deep copying, const propagation and value-based comparison that avoid boilerplate needed with std::unique_ptr. Its sibling, std::polymorphic, provides similar semantics for objects of classes derived from T. The two types originated as separate proposals, P1950 and P0201.
AI-written summary, checked against the cited sources. How summaries work