Summary:
EmulatedFutexAtomic concisely says here that it doesn't copy construct,
move construct, copy assign, or move assign.
Closes #130
Test Plan:
Inspection and all unit tests.
```
Summary (total time 66.97s):
PASS: 2029
FAIL: 0
SKIP: 0
FATAL: 0
TIMEOUT: 0
```
Reviewed By: ngbronson@fb.com
Subscribers: folly-diffs@, yfeldblum
FB internal diff:
D1868033
Signature: t1:
1868033:
1424808823:
d9dd618981b29b5949c00190d69d670d96e60e07
EmulatedFutexAtomic() noexcept = default;
constexpr /* implicit */ EmulatedFutexAtomic(T init) noexcept
: std::atomic<T>(init) {}
- EmulatedFutexAtomic(const EmulatedFutexAtomic& rhs) = delete;
+ // It doesn't copy or move
+ EmulatedFutexAtomic(EmulatedFutexAtomic&& rhs) = delete;
};
/* Available specializations, with definitions elsewhere */