What?
You can't be serious!?
There isn't a font-size large enough.
Are you being deliberately obtuse?
Did you manage to find code online relevant to the discussion without actually reading it?
Where did the code in your post even come from if you didn't write it?
If you wrote it, how did you manage to so poorly understand your own code?
Can you write code while blindfolded only with the blind covering your brain? Can you code while brainfolded?
WTF! o_o
You and you alone brought `QtAutoDeleter' into this discussion.
The `QtAutoDeleter' does not delete anything. Ever.
Code:
QtAutoDeleter<T> s(this);
This code implying that `QtAutoDeleter' deletes `this' is flawed.
This code is infinitely worse than being ambiguous, confusing, unusual, or poorly documented; it self-documents as being completely unrelated to its actual purpose.
How is this a "Good Thing™"?
Code:
auto edit = new QTextEdit(auto_deleter(this));
This code does not create an object that deletes `this'.
This code updates a list which deletes `edit'.
How is the names `QtAutoDeleter' and `auto_deleter' causing me to think that `this' is going to be automatically deleted "Good Thing™"?