Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The assertion provides some protection against bad calls, both at compile time (by perhaps triggering a sequence-point warning), and at run time (by detecting if the ptr argument is unstable when reused). This won't protect against all macro-argument-with-side-effects problems, but maybe the comment will help.
- Loading branch information