1.. title:: clang-tidy - performance-noexcept-move-constructor 2 3performance-noexcept-move-constructor 4===================================== 5 6 7The check flags user-defined move constructors and assignment operators not 8marked 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, 12need to be declared ``noexcept``. Otherwise STL will choose copy constructors 13instead. The same is valid for move assignment operations. 14