#Shared pointer in single-threaded application?
7 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
the atomic counting is cheap
So there isn't an alternative in the standard library?
built in? dont believe so, but you could make your own pretty simply or just copy paste from an existing implementation but remove the atomic part of the ref counting. but i seriously dont think you would see any worthwile performance benefits in removing that detail