News for hackers. Stuff that matters.
Re:C++ Patterns: The Badge by slavik81 on Tuesday June 11, 2019 @09:26PM (#20160986)
> Flipping a "private:" to "public:" has no effect on the binary compatibility.

That's not the case on Windows. The access qualifier is part of the mangled name. https://en.wikiversity.org/wiki/Visual_C%2B%2B_name_mangling...

Re:C++ Patterns: The Badge by bdowling on Wednesday June 12, 2019 @04:08AM (#20162662)
It's still an honor system. There's a way to generate code that will call the "private" or "protected" data/function even if it violates what's specified in the headers.
Re:C++ Patterns: The Badge by kazinator on Tuesday June 11, 2019 @11:41PM (#20161598)
That shouldn't prevent the subversion of data members or inline functions, or the ability to add your own member functions to the class.