You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect IntelliSense squiggle "no instance of constructor" with class template argument deduction #2912
Repro is a modification to the bug #2907 . I believe it should start reproing in VS 2019 Preview 2, so I'll file a bug with that after it ships unless they fix it beforehand.
template<typename T>
struct B {
B(T p2) { }
};
int main()
{
B<int>* test1 = new B{ 5 }; // < Error
}
Gives error: "no instance of constructor âBâ matches the argument list â argument types are: ({âĶ})â.
changed the title [-]0.21.0-insiders regression: Incorrect IntelliSense squiggle "no instance of constructor" with class template argument deduction[/-][+]Incorrect IntelliSense squiggle "no instance of constructor" with class template argument deduction[/+]on Dec 11, 2018
Activity
[-]0.21.0-insiders regression: Incorrect IntelliSense squiggle "no instance of constructor" with class template argument deduction[/-][+]Incorrect IntelliSense squiggle "no instance of constructor" with class template argument deduction[/+]sean-mcmanus commentedon Jan 4, 2019
Fixed with our latest 0.21.0-insiders3. Setting
C_Cpp.updateChannelto"Insiders"is another way to get the update.