Closed aconstlink closed 7 months ago
We can not work with string for the purpose because it uses memory itself. This interferes when using the memory allocator with string itself.
On the other hand, char const * is more efficient because all purpose strings are compile-time constant anyways.
We can not work with string for the purpose because it uses memory itself. This interferes when using the memory allocator with string itself.
On the other hand, char const * is more efficient because all purpose strings are compile-time constant anyways.