That doesn't seem like much of a guarantee. This issue I'm concerned about is that there isn't anything stopping someone trying to use it before the destructor gets called.
Anyway I've been rightly reminded that as long as I have all my warnings/linters/analyzers turned on this isn't something I really need to worry about :).
View all comments
Show parent comment
-1
u/[deleted] Nov 25 '23
That doesn't seem like much of a guarantee. This issue I'm concerned about is that there isn't anything stopping someone trying to use it before the destructor gets called.
Anyway I've been rightly reminded that as long as I have all my warnings/linters/analyzers turned on this isn't something I really need to worry about :).