-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.parserregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Milestone
Description
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"
}
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.parserregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release