template <typename TT>
class Base
{
public:
Base(const int &rhs) : ss(rhs) { }
Base(const TT &rhs) : ss(rhs.ss) { }
protected:
int ss;
};
class cc : public Base<cc>
{
public:
using Base<cc>::Base;
};
int main()
{
int f;
cc c = f; // no suitable constructor exists to convert from "int" to "cc"
}
See https://developercommunity.visualstudio.com/content/problem/314489/158-regression-c-intellisense-reports-incorrect-no.html .