On Thu, Nov 16, 2017 at 3:14 AM, Jonathan Coe via Boost < boost@lists.boost.org> wrote:
I'd like to propose adding the class-template `polymorphic_value` to boost.
`polymorphic_value` is designed to allow the compiler to correctly generate special member functions for classes with polymorphic components (It's `any` with an interface).
`polymorphic_value` has been proposed for standardisation in P0201 and has advanced through the Library Evolution group in Albuquerque (Nov 5-10). https://wg21.link/p0201
A working draft of the proposal and implementation can be found at https://github.com/jbcoe/polymorphic_value
I gave a presentation about polymorphic_value at C++::London here: https://skillsmatter.com/skillscasts/9539-a-polymorphic-value-type-for-c- plus-plus
Matt Calabrese has kindly offered to be review manager.
Not only do I want to see this put forth for review, but I'd also like to see its review fast-tracked, since it's a target for standardization currently being examined by LEWG. There are a few of us in LEWG that want to see essentially *all* novel library submissions do through Boost or another widely-used library. Mostly you can find these people on this list. :) This is why Boost was initially created, after all. Whether it passes review without change, gets rejected, or anything in between, the process will be very informative to LEWG. Zach