Skip to main content

Timeline for Simple Singly-Linked List class

Current License: CC BY-SA 4.0

4 events
when toggle format what by license comment
Jan 10, 2022 at 21:20 history edited Toby Speight CC BY-SA 4.0
Code fence; real ellipsis
Jan 10, 2022 at 20:59 comment added Ismael Miguel I disagree with the first part of your answer. The comments provided for the functions are basically an interpretation of what the code does, but written in English. However, it does show that the Add method could probably have a better name, like Append (since it adds to the end). This way, you can implement method like Prepend (add to the top) and Insert (add the value before m_next) - or the "classic" Push/Pop. Assuming those are possible to implement. Otherwise, Add may be a good name. The smart pointer seems to be a really good idea, and you get my upvote for that.
S Jan 10, 2022 at 20:24 review First answers
Jan 10, 2022 at 21:20
S Jan 10, 2022 at 20:24 history answered William Albuquerque CC BY-SA 4.0