Как получить доступ к приватному члену класса?
На сайте с вопросами с интервью есть следующий вопрос: class Something { public: Something() { topSecretValue = 42; } bool somePublicBool; int somePublicInt; std::string somePubli…
На сайте с вопросами с интервью есть следующий вопрос: class Something { public: Something() { topSecretValue = 42; } bool somePublicBool; int somePublicInt; std::string somePubli…