Hi there,
I am a new contributor to libc++, so this patch will probably need some help. This patch incorporates some of the details highlighted in P0674R1. If all goes well, I will submit another one (or update this one) with the rest of the changes.
Example
shared_ptr<double[1024]> p = make_shared<double[1024]>();
Questions
- Is it okay to define __shared_ptr_emplace__destroy, a helper function, where and how I did?
- Was removing is_constructible<_Tp, _Args...>::value okay (see comment in code)?
- What are the next steps? Do I need to write more tests? Do I need to write some documentation?
Is there a reason you can't use _VSTD::destroy_at?