Re:What =delete means
by kccqzy on Monday October 18, 2021 @01:01PM
(#28907767)
How is it a pitfall? The article clearly elucidates several uses of the "=delete" construct. I don't see any pitfalls, just some new uses of the feature. And I expect most people to be the same: most people only ever use "=delete" on the copy constructor and the copy assignment operator, now this article tells them you can actually use it on other things too. There's no pit to fall into, just new ways to use a feature.
[ Parent
| on HN ]
There are no comments on this comment yet.