Skip to main content

Timeline for Red-Black Tree Implementation

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
May 15, 2017 at 20:50 comment added Loki Astari @Hhhheheheh When C++11 was released they introduced the concept of move semantics. This allowed object to be cheaply "moved" into a function without needing to copy it. To indicate an end point that accepts a movable object the new syntax of && was introduced (called R-Value reference). Example: If you have a large vector you can "move" the vector into the function very cheaply by simply moving the pointers to the dynamically allocated memory (this is hidden from the user of the vector but you can specify the interface for it). You should google "C++ Move Semantics".
May 15, 2017 at 19:48 comment added Hhhheheheh Thanks, very informative. Although I have to admit I didn't understand the "Moving objects" part, could you please explain what's going in there?
May 15, 2017 at 19:16 comment added Loki Astari @Incomputable Suggestions about identifiers.
May 15, 2017 at 17:15 history edited Toby Speight CC BY-SA 3.0
Spelling and grammar
May 15, 2017 at 17:12 comment added Incomputable Rules about identifiers remind me of you.
May 15, 2017 at 17:02 history edited Loki Astari CC BY-SA 3.0
added 800 characters in body
May 15, 2017 at 16:54 history edited Loki Astari CC BY-SA 3.0
added 800 characters in body
May 15, 2017 at 15:11 history answered Loki Astari CC BY-SA 3.0