Dynamic String & Rule of Five
A custom dynamic string class managing heap buffers and honoring the Rule of Five.
Review checklist
- Correctly implements copy constructor, copy assignment, move constructor, move assignment, and destructor.
- Prevents memory leaks, double-free crashes, and dangling pointer dereferencing across reassignments.
- Provides constant-time size queries and safe bounds-checked indexing operators.