chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,

How to fake private or read only variables in c++?

Thanks
James
asked by JamesKing (8.2k points)

1 Answer

0 votes
Hi James,

The feature that you are looking for is not supported yet by I++;

What you can do Instead is to fake the getter method of this variable.
you can find the insructions here:

http://tinyurl.com/pr4a5v6
answered by Shai Barak (1.5k points)
...