aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/box_ptr.hh
AgeCommit message (Collapse)Author
2024-03-11Add box_ptr: nonnull unique_ptr with value semanticsJade Lovelace
This solves the problem of collections of boxed subclasses with virtual dispatch, which should still be treated as values, since the indirection is only there due to the virtual dispatch. Change-Id: I368daedd3f31298e99c6e56a15606337a55494c6