Skip to content

Find All References (Rename) gives "Not a reference" for constructors of templated classes #4345

@sean-mcmanus

Description

@sean-mcmanus

Repro is below.


template <typename T>
class myTemplate {
public:
	myTemplate(){}
};

class myClass {
public:
	myClass(){}
};

void func()
{
	myTemplate<int> mt = 
		myTemplate<int>(); // incorrectly not a reference
	myClass mc = 
		myClass(); // correctly a reference
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions