Boost logo

Boost :

Subject: Re: [boost] [variant] Please vote for behavior
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2013-02-04 02:48:41


To sum up the vote:

1) recursive_wrapper move constructor implementation must remain as is
2) new class recursive_ptr can be added, which may have optimized move
constructors and move assignments + may be used as a drop in
replacement for recursive_wrapper
3) variant shall 'cooperate' with recursive_wrapper for better performance

So the final solution is a combination of three proposed solutions.

Great thanks for all the thoughts, everyone! That was an exiting discussion!

--
Best regards,
Antony Polukhin

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk