Closed
Description
Affected rules
A13-3-1
Description
The rule title for this rule states:
A function that contains “forwarding reference” as its argument shall not be overloaded.
With the rationale saying:
Overloading functions with “forwarding reference” argument may lead to developer’s confusion on which function will be called.
Although the rule title suggests overloads with different numbers of parameters should be prohibited, there is no confusion in this case, and therefore I believe it's safe to exclude them.
Example
class foo {
public:
foo() {} // error here
template<typename T>
foo(T&&){}
};