How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

C++26: std::polymorphic -- Sandor Dargo

calendar_today November 2, 2026 person Blog Staff domain cplusplus

C++26’s std::polymorphic brings value semantics to polymorphic objects, eliminating much of the boilerplate traditionally required with std::unique_ptr . It enables deep copying while preserving dynamic types—without virtual clone() methods or hand-written copy operations. C++26: std::polymorphic by Sandor Dargo From the article: In the previous article , we looked at std::indirect — C++26’s answer to the “I need a heap-allocated member with value semantics” problem.

open_in_new Read original post