codebrowser icon indicating copy to clipboard operation
codebrowser copied to clipboard

Bug: No references to constructors (usages) when object constructed by using STL.

Open PiotrZSL opened this issue 8 years ago • 1 comments

Or project use lot of std::make_shared, std::make_unique, boost::make_shared, boost::make_*. In that case after moving mouse above constructor, it shows 0 usages.

PiotrZSL avatar May 16 '16 05:05 PiotrZSL

Thanks for the bug report.

The problem is that the constructor is called from the instentiation if the template. I unfortunately do not take care of template instentiations. Something that is quite difficult do do with the current desing, especially because the instentiation of the template can be made from another file.

I should find a way to highlight template instentiation and find uses from them.

ogoffart avatar May 16 '16 10:05 ogoffart