Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emplace() support for AtomicHashArray/Map
Summary: Allow objects that only support in-place construction (no copy/move constructor) to be stored in AtomicHashMap and AtomicHashArray via the emplace() method. This uses variadic template parameters and perfect forwarding to allow the arguments for any valid constructor for the object to be used during insertion. Reviewed By: @nbronson Differential Revision: D2458152
- Loading branch information
Justin Gibbs
authored and
facebook-github-bot-1
committed
Sep 24, 2015
1 parent
9013b5e
commit 800a6af
Showing
6 changed files
with
62 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters