std::string s = (std::string)"a" + "b" + "c"; OK?
<p>It works, no crashes. Is it OK?</p>

<p>edit: the reason I ask is that <code>std::string s = "a" + "b" + "c";</code> produces a compiler error, and <code>(std::string)"a"</code> just tells the compiler, "Just presume what "a" is pointing at is an std::string".  And I didn't actually know how std::string is implemented.</p>

<p>Thanks for the feedback from everyone.</p>
