brintos

brintos / llvm-project-archived public Read only

0
0
Text · 565 B · eb605c5 Raw
14 lines · plain
1.. title:: clang-tidy - performance-noexcept-move-constructor2 3performance-noexcept-move-constructor4=====================================5 6 7The check flags user-defined move constructors and assignment operators not8marked with ``noexcept`` or marked with ``noexcept(expr)`` where ``expr``9evaluates to ``false`` (but is not a ``false`` literal itself).10 11Move constructors of all the types used with STL containers, for example,12should be declared ``noexcept``. Otherwise STL may choose copy constructors13instead. The same is valid for move assignment operations.14