[libc++] NFC: Add helper methods to simplify __shared_ptr_emplace
authorLouis Dionne <ldionne@apple.com>
Tue, 10 Nov 2020 17:47:10 +0000 (12:47 -0500)
committerLouis Dionne <ldionne@apple.com>
Tue, 10 Nov 2020 17:49:19 +0000 (12:49 -0500)
commit02af11094fe499011e720a2a41b87d0763e4ea4f
tree480b66ef61beec63cb9be4a771d468819fba3eaf
parent7211604220ae7de9d96abb3385248dc2fecc9777
[libc++] NFC: Add helper methods to simplify __shared_ptr_emplace

The previous implementation was really difficult to follow, especially
with the get() method sharing the same name as std::unique_ptr::get().
libcxx/include/memory