News for hackers. Stuff that matters.
Re:What =delete means by db48x on Monday October 18, 2021 @10:33AM (#28905807)
Means exactly what it says. You cannot create templated functions, classes, etc.
Re:What =delete means by gjulianm on Monday October 18, 2021 @11:12AM (#28906225)
That seems extremely restrictive. I get being careful around heavy use of templates, and even more with containers where allocation/copies/moves can be really tricky; but there is a lot of space for using templates in a simple but useful way.
Re:What =delete means by pxx on Monday October 18, 2021 @11:36AM (#28906564)
These are allowed. I have no idea where the parent post gets the idea that you can't ever write a template.