cpp_weekly
cpp_weekly copied to clipboard
When to make types non-moveable?
The rule: if the type is not trivially destructible and is not default constructible, it should not be moveable.
Examples: handle types, mostly.