I originally wrote CStr in an attempt to make it less irritating to switch back and forth between functions that take C-strings and those that take std::strings.
However. It makes code messier, probably less performant (unless it gets optimized away entirely), and honestly its a bigger PITA than just keeping track of strings manually - It makes it a pain to pass around std::strings, which are way too useful to not pass around.
Therefore, I want to go through the codebase and rip out the entire class, so I can stop having to deal with it when I add new code.
I originally wrote
CStrin an attempt to make it less irritating to switch back and forth between functions that take C-strings and those that takestd::strings.However. It makes code messier, probably less performant (unless it gets optimized away entirely), and honestly its a bigger PITA than just keeping track of strings manually - It makes it a pain to pass around
std::strings, which are way too useful to not pass around.Therefore, I want to go through the codebase and rip out the entire class, so I can stop having to deal with it when I add new code.