Change Signature of Constructor C++

Hi,

I don't know how to change the Signature of a constructor. Changing the signature of Methods works just fine. 

When a constructor is selected Resharper only  suggest to rename it.

Does anyone know how to change the signature of a constructor?

Thx in advance

 

I am using ReSharper C++ 2022.2.20220820.134329

2 comments
Comment actions Permalink

Hello,

Changing signature of constructors is not currently supported, the feature request is https://youtrack.jetbrains.com/issue/RSCPP-12542/Change-signature-doesnt-work-for-constructors.

The reason why it's not supported is because it is hard for R# to find all implicit usages of a constructor (i.e. those where the class is not named in the code).

0
Comment actions Permalink

Alright, thank you for you answer!

0

Please sign in to leave a comment.