Hacker News new | ask | show | jobs
by pfooti 1609 days ago
I mean, I don't know if you can do this with modern c++, but I would occasionally do this when I was being aggressive in my c++ tweaks:

    #define private public
    #import <something.h>
then you can interact with your class private fields all you want.