mirror of
https://github.com/boostorg/optional.git
synced 2026-07-06 16:40:53 +02:00
4e7405a233
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