cpp_weekly icon indicating copy to clipboard operation
cpp_weekly copied to clipboard

When to make types non-moveable?

Open lefticus opened this issue 1 month ago • 0 comments

The rule: if the type is not trivially destructible and is not default constructible, it should not be moveable.

Examples: handle types, mostly.

lefticus avatar Dec 03 '25 05:12 lefticus