Re:Public/protected/private is an unnecessary feature
by ethan_smith on Thursday June 19, 2025 @10:17PM
(#44324178)
The #define private public hack doesn't work reliably in modern C++ compilers and violates the One Definition Rule, potentially causing undefined behavior and hard-to-debug errors.
[ Parent
| on HN ]