On 11/05/2019 06:17, Michael Caisse via Boost wrote:
Boost.Variant2 will be ACCEPTED after the following changes are made. An additional review will not be required.
- The library will implement the strong guarantee: - If all alternatives have nothrow move, single buffer - else, double buffer - Improved documentation: - Addition of a tutorial - Addition of design motivation - Peter has indicated that triviality propagation will come in a future version. The initial Boost release need not support triviality propagation. - Expected will not be included but may be submitted for review at another time.
Congratulations Peter, and thank you Michael for your service. The above design is literally sorely needed in the codebase I am currently deployed upon. We are currently on Boost.Variant, and paying the price of dynamic memory allocation in a hot low latency code path. Boost.Variant2 will be a very welcome replacement. Niall