template alias sometimes resolved incorrectly

Answered

Hello all

I have the following code:
template <typename T>
using PropertyBindingPtr = std::shared_ptr<PropertyBinding<T>>;

This is not properly resolved when used:

It is obviously not a std::shared_ptr<float> but a std::shared_ptr<PropertyBinding<float>>.  I already disabled clangd, because with clangd pretty much everything is red.

It can be used correctly however, its just displayed wrong.

BR

 

0
1 comment

Hi! Thanks for reporting. I've created an issue in our tracker: https://youtrack.jetbrains.com/issue/CPP-14090. Feel free to comment or upvote in order to get updates.

0

Please sign in to leave a comment.