P4346R1 — std::movable_box: Give Users the Ranges Movable Wrapper
Steve Downey
LEWGLWG
Revisions R1Oct 2026R0Sep 2026
The exposition-only class template *movable-box* is the workhorse of the range adaptors. It is how the standard library stores a predicate, a projection, or a value inside a view type and still satisfies the assignability the `view` concept demands. Every implementation ships one. Every ranges-adjacent library reimplements one. Anyone writing a conforming view outside the standard library must write one.