Support movable keys
authorDave Watson <davejwatson@fb.com>
Tue, 7 Nov 2017 18:27:36 +0000 (10:27 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 7 Nov 2017 18:43:35 +0000 (10:43 -0800)
commit103ad3dac0bac41b1bfcc86db8499592c855119f
treeaed5af6ce02e02dcda0a9627e8a87ca9c4f123e4
parent897877b826bf39211ef62a1172aa192efb54f4a2
Support movable keys

Summary: Use the same trick as the values, so that non-copyable keys can be used in ConcurrentHashMap.

Reviewed By: yfeldblum

Differential Revision: D6252711

fbshipit-source-id: f0f168c4eb361d372bdfc3417f32222d66c11aaf
folly/concurrency/ConcurrentHashMap.h
folly/concurrency/detail/ConcurrentHashMap-detail.h
folly/concurrency/test/ConcurrentHashMapTest.cpp