My question is related to the use of the "s" suffix in C++?
Example of code using the "s" suffix:
auto hello = "Hello!"s; // a std::string
The same could be written as:
auto hello = std::string{"Hello!"};
I was able to find online that the "s" suffix should be used to minimizes mistakes and to clarify our intentions in the code.
Therefore, is the use of the "s" suffix only meant for the reader of the code? Or are there others advantages to its use?