Compiler Error C2241
'identifier' : member access is restricted
Code attempts to access a private or protected member.
To fix by using the following possible solutions
Change the access level of the member.
Declare the member a
friend
of the accessing function.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for