Antony Peacock
Antony Peacock
Yes, `indirect_value` can replace `unique_ptr` and provides the additional copying and const propagation behaviour required to model value semantics. `shared_ptr` has very different semantics already, and the reference counting of...
A couple of consequences of these changes. It no longer makes sense to compare indirect_value against nullptr as it now had no observable null state. However, the construction interface now...
This implementation currently targets C++17 (even though the proposal is for C++23). Lambda cannot work with indirect_value (or the underlying unique_ptr) until C++20 when changes to support assigning of default...
Thanks for sharing your implementation experience, it's really valuable to get feedback like this. While the most recent revisions of the papers for polymorphic_value/indirect_value contain a null state our most...
In this case, the top-level project follows the super-build pattern and is not much more than a project that includes other projects as packages (by way of downloading other repositories...
There a number of potential issues with using the CMake-codecov library with Ninja in its current form which you might be encountering. The first is that when you perform in...
This has now been added in this commit: https://github.com/jbcoe/indirect_value/commit/3fb4e72311213741d37b11f83d0250925f483f6a
Also looks like we have missed of the `std::allocator_arg_t` constructor (but it is on the reference implementation). ``` template ISOCPP_P0201_CONSTEXPR_CXX20 constexpr polymorphic_value(U* u, std::allocator_arg_t, const A& alloc); ```
I also experienced this issue, but this only appears to happen with the debug build (which is what CMake will build by default). Trying adding `-D CMAKE_BUILD_TYPE=Release` when invoking CMake...
I believe this is just awaiting review, I'm hopeful this gets looked at soon 🤞