Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Convert dot to -> in C/C++ not work!

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
qokelate Posted - Nov 10 2019 : 01:57:37 AM

If var define in macro, it not work!

#define SCENewTmpInstance2(x, y) auto __tmpobj_##x##_##y = x(); auto y = &__tmpobj_##x##_##y;

SCENewTmpInstance2(SCEObject, tmp1);
tmp1.append //Not work !!!
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 11 2019 : 01:01:30 AM
It seems to work for me. Can you please try with the following code snippets?




class SCEObject
{
	int a;
};

void ffffffff()
{
#define SCENewTmpInstance2(x, y) auto __tmpobj_##x##_##y = x(); auto y = &__tmpobj_##x##_##y;

	SCENewTmpInstance2(SCEObject, tmp1);
	tmp1.
}


Does this simplified example works for you?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000