Date: Sat, 2 Sep 2023 14:45:24 +0100
On Sat, Sep 2, 2023 at 5:42 AM Sebastian Wittmeier wrote:
>
> Use a friend function.
You'd have to edit the header file to do that. The idea is not to have
to edit the header file.
Aside from the 'typedef' idea, here's another possibility:
void Manipulate( WebServer &web )
{
web.public::some_private_member = 77;
}
>
> Use a friend function.
You'd have to edit the header file to do that. The idea is not to have
to edit the header file.
Aside from the 'typedef' idea, here's another possibility:
void Manipulate( WebServer &web )
{
web.public::some_private_member = 77;
}
Received on 2023-09-02 13:45:36