Skip to main content

Timeline for Double linked list c++

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Mar 4, 2016 at 16:36 comment added Jerry Coffin @SimonKraemer: Glad to help. Just one bit of warning: this is pretty much the simplest possible case for a move ctor/assignment operator. It can get tricky when you have (for example) a class that contains other objects that already support move assignment/construction (then you start to use std::move, and you have to put some actual thought into it).
Mar 4, 2016 at 8:47 comment added Simon Kraemer Thanks for pointing out the copy and swap idiom.... I can't believe I missed this until now. Also thank you for showing how to implement a proper move assignment operator. I hadn't had the chance to use move semantics apart from testing some stuff.
Mar 3, 2016 at 20:00 history edited Jerry Coffin CC BY-SA 3.0
added 17 characters in body
Mar 3, 2016 at 19:53 history answered Jerry Coffin CC BY-SA 3.0