4 ms·
I thought the "use" was the destruction or movement of the value, in which case an object is used exactly once. You may never use a C++ object, but it will be
by mcguire 9y ago
I thought the "use" was the destruction or movement of the value, in which case an object is used exactly once.
You may never use a C++ object, but it will be destroyed (under normal circumstances).
- masklinn 9y ago> I thought the "use" was the destruction or movement of the value Implicit behaviour is not use. > You may never use a C++ object, but it will be destroyed (under normal circumstances). And that is different from Rust how? https://gankro.github.io/blah/linear-rust/#must-be-used-at-least-once https://gankro.github.io/blah/linear-rust/#must-be-used-at-l...