I recently read LBs article on smart pointers. (
http://www.lb-stuff.com/pointers )
Again, I'm left with a question that none of all the articles that I've read about smart pointers answered.
(@LB: good article, though)
The question is:
Are smart pointers faster (both in execution and allocation/deallocation) and/or less memory consuming than raw pointers?
Including runtime overhead.
LB talks about smart pointers being "better, safer, more self-documenting". I read that a lot, especially the 'safe' argument seems to be key.
I understand that point, but let's assume I don't care about 'safe' or 'ease of use' or 'readability' or 'maintainability', should I still use smart pointers and why?
A final note: I do use smart pointer in my daily work, so, I'm aware of all the advantages of them.
I just want this question answered.