2
Anakata
4y

My destructor accidentally modifies some other object wtf !? I made sure to use const keyword to prevent modification and also dynamically allocated data using the new keyword.

Comments
  • 3
    You're probably going out of bounds somewhere in your constructor or destructor, no matter how const everything is, if you fuck up the memory allocation everything goes wrong.
  • 1
    If the pointer is const, congrats! You played yourself!
  • 2
    *laughs in Rust*
  • 2
    C++ is usually uncontested as the most difficult major language out there, discounting the joke ones like brainfuck and all of the codegolf languages.
  • 0
    @sqlkid To be fair, the worse the language the better the pay because nobody wants to be the guy to fix some 20 year old cobbled together business application
Add Comment