create implementation donot expand macro

when i use a macro in my function parameter type, if I Create Implementation use resharper c++, it expand the macro, use the real type. that's usually not what I want.

Is there a setting to control it?


for example:

#define MyInt int

void Test(MyInt n);


if I Alt+Enter Create Implementation, the functions implementation is :

void Test(int n)

if I modify the macro

#define MyInt long

there will be a error.



1 comment
Comment actions Permalink

Sorry, R++ does not preserve macros in this case. If this is your own code, please consider using typedefs or using declarations for your types.


Please sign in to leave a comment.