19 lines · plain
1.. title:: clang-tidy - fuchsia-overloaded-operator2 3fuchsia-overloaded-operator4===========================5 6Warns if an operator is overloaded, except for the assignment (copy and move)7operators.8 9For example:10 11.. code-block:: c++12 13 int operator+(int); // Warning14 15 B &operator=(const B &Other); // No warning16 B &operator=(B &&Other) // No warning17 18See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en19