mirror of
https://github.com/boostorg/optional.git
synced 2025-07-23 17:17:17 +02: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