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;