News for hackers. Stuff that matters.
Re:Misra C++:2023 Published by jstimpfle on Monday December 18, 2023 @07:52PM (#38690447)
Again, you need to make the constructor exception safe, that's just like any other function. Just imagine the constructor and destructor bodies as one combined function. (Of course don't forget the method calls in between but those should preserve the class invariant).

There are no comments on this comment yet.