3 ms·
For almost everyone, none. delete doesn’t remove the method from the overload set, it leaves it there in order to give the caller an error saying don’t do that
by beached_whale 5y ago
For almost everyone, none. delete doesn’t remove the method from the overload set, it leaves it there in order to give the caller an error saying don’t do that.
- klyrs 5y agoIt also prevents the compiler from emitting a default implementation for the deleted method.