News for hackers. Stuff that matters.
Re:The C23 edition of Modern C is now available for free by layer8 on Tuesday October 15, 2024 @03:34PM (#41852277)
In C++ the semantics can differ, in that copying an object for post-increment might require a memory allocation internally (for example in the case of a BigInt class), which may fail and throw an exception. For consistency, using pre-increment by default and unless you really need post-increment, is a good habit.

There are no comments on this comment yet.