Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WString: mark move ctor as noexcept #7610

Merged
merged 1 commit into from
Sep 24, 2020
Merged

Commits on Sep 22, 2020

  1. WString: mark move ctor as noexcept

    ref.
    - https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-move-noexcept
    - https://rules.sonarsource.com/cpp/RSPEC-5018?search=noexecept
    - https://clang.llvm.org/extra/clang-tidy/checks/performance-noexcept-move-constructor.html
    
    > Move constructors of all the types used with STL containers, for
    example, need to be declared noexcept. Otherwise STL will choose copy
    constructors instead. The same is valid for move assignment operations.
    mcspr committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    1432598 View commit details
    Browse the repository at this point in the history