|
Boost : |
From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2019-12-20 22:35:00
Hi Everyone,
I am seeking an advice.
I recently got this pull request:
https://github.com/boostorg/optional/pull/77
changing the boost::swap() to boost::adl_move_swap() because it should
compile faster.
Is there any recommendation for Boost libraries which one to prefer and
under what circumstances? boost::adl_move_swap() seems to allow moves
rather than copies in more cases. On the other hand boost::swap() seems to
have other improvements, like BOOST_GPU_ENABLED.
Regards,
&rzej;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk