Summary:
AsyncServerSocket disallow copy construction, copy assignment,
move construction, move assignment, and default
construction.
Closes https://github.com/facebook/folly/pull/148
Test Plan: all folly/tests, make check for 37 tests, passed.
Reviewed By: ldbrandy@fb.com
Subscribers: lins, anca, folly-diffs@, yfeldblum
FB internal diff:
D1912488
Signature: t1:
1912488:
1426267982:
a9690ce9429016f89630f0ded64b7be9ff80c39d
class AsyncServerSocket : public DelayedDestruction {
public:
typedef std::unique_ptr<AsyncServerSocket, Destructor> UniquePtr;
+ // Disallow copy, move, and default construction.
+ AsyncServerSocket(AsyncServerSocket&&) = delete;
class AcceptCallback {
public: