mirror of
https://github.com/AxioDL/boo.git
synced 2025-08-31 16:00:16 +00:00
Now that decrement() doesn't lock a mutex every time its executed, we can mark it as noexcept. This allows us to make most of the interface noexcept. In particular, the move constructor and move assignment operator can now be noexcept. This allows all Boo objects to play nicely with interfaces that may make use of std::move_if_noexcept, like some of the standard library facilities, without always taking the copy constructor/copy assignment.