"Andrew Dunstan" <andrew(at)dunslane(dot)net> wrote:
> The particular assertion that was proposed doesn't strike me as terribly
> useful - It should be checked at the point of call rather than inside
> pstrdup, I should have thought.
Are you going to trust the client of that function ?
Here the question is not if insert a check/assert there but write a general
rule if insert and where check/assert
Regards
Gaetano Mendola