Allowing a Template Function to access a private variables in a class.
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Is their a way to allow a function template to use private variables in a class. I need to have my template function modify certain private variables in a class. Can anyone point me in the right direction. I would be extremly greatful if anyone can show me or point me into the right direction.
-
Is their a way to allow a function template to use private variables in a class. I need to have my template function modify certain private variables in a class. Can anyone point me in the right direction. I would be extremly greatful if anyone can show me or point me into the right direction.