mirror of
https://github.com/boostorg/optional.git
synced 2025-11-16 15:39:31 +01:00
When we detect that compiler supports rvalue references, we implement swap() in term of moves (as intuition suggests). Otherwise we fall back to old tricks with default constructor+swap