| 67 | class NonCopyableInt { |
| 68 | public: |
| 69 | explicit NonCopyableInt(int value) : value_(value) {} |
| 70 | NonCopyableInt(const NonCopyableInt &) = delete; |
| 71 | NonCopyableInt(NonCopyableInt &&other) noexcept : value_(other.value_) { |
| 72 | other.value_ = -1; // detect when an unwanted move occurs |
nothing calls this directly
no outgoing calls
no test coverage detected