1.. title:: clang-tidy - fuchsia-overloaded-operator
2
3fuchsia-overloaded-operator
4===========================
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);     // Warning
14
15  B &operator=(const B &Other);  // No warning
16  B &operator=(B &&Other) // No warning
17
18See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md
19