Skip to main content

Timeline for Simple String class with operators

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Mar 14, 2018 at 18:06 history edited Toby Speight CC BY-SA 3.0
Removed clutter from Valgrind output
Mar 14, 2018 at 17:59 comment added Toby Speight I've updated the review, and included some comments (and an exercise) related to that constraint. std::memcpy() is as good as the more-general std::copy() for this (but std::strcpy() obviously no longer works).
Mar 14, 2018 at 17:58 history edited Toby Speight CC BY-SA 3.0
Homework hint
Mar 14, 2018 at 17:53 history edited Toby Speight CC BY-SA 3.0
Add some homework exercises; and fix self-assignemnt
Mar 14, 2018 at 10:57 history edited Toby Speight CC BY-SA 3.0
Minor improvements
Mar 14, 2018 at 10:43 history edited Toby Speight CC BY-SA 3.0
Added the rest of the review
Mar 13, 2018 at 17:34 history edited Loki Astari CC BY-SA 3.0
deleted 29 characters in body
Mar 13, 2018 at 16:27 comment added Loki Astari I would argue this needs to be changed. new char[1+std::strlen(thing.c_str())] and that the strcpy() in the same function needs be replaced with std::copy() to get around embedded nulls.
Mar 13, 2018 at 10:46 history edited Toby Speight CC BY-SA 3.0
deleted 52 characters in body
Mar 13, 2018 at 10:11 history edited Toby Speight CC BY-SA 3.0
added 88 characters in body
Mar 13, 2018 at 9:45 history answered Toby Speight CC BY-SA 3.0