News for hackers. Stuff that matters.
Re:Puzzle Languages by bradrn on Wednesday October 04, 2023 @06:49AM (#37763315)
As I recall, the issue in my case involved a default copy-constructor which destructed an object wrongly. I’ve since learnt to delete the implicit methods of a class, but I still find reasoning about copy and move semantics to be thoroughly puzzling.
Re:Puzzle Languages by zabzonk on Wednesday October 04, 2023 @06:59AM (#37763402)
i would still think this is a misunderstanding of scope. and you really don't want to be worrying about move semantics unless you are a performance maniac, a library writer, or (most likely) both.