mirror of
https://github.com/boostorg/optional.git
synced 2026-01-26 06:42:23 +00: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