I mean is there anything wrong with the code? Because the program crashes when I run it. When I debug it breaks it opens up a new set of code in the ostream library and it points to this:
I have no idea why it does that. Any ideas? ThanksCode:__CLR_OR_THIS_CALL ~_Sentry_base() { // destroy after unlocking if (_Myostr.rdbuf() != 0) _Myostr.rdbuf()->_Unlock(); }