[Misc] Apply SonarCloud rule cpp:S5018
Description
- Rule name: Move and swap operations should be "noexcept"
- Rule code: cpp:S5018
- Rule link: https://sonarcloud.io/organizations/cern-cta/rules?open=cpp%3AS5018&rule_key=cpp%3AS5018
Rule validates with with following assert:
static_assert(std::is_nothrow_move_constructible_v<T>);
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See our contributing docs
References
Closes #1370 (closed)
Edited by Joao Afonso