To clarify:
This holds for C++-style strings (eg std::string), but not C-style strings (eg const char*, string literals, which are legal in C++ too).


Btw, this is an extremely simple question...