line of code converting char to string --> foobar(string("text")+anotherString)
<p>I have a line of code that seems to convert a char array to  a string</p>

<pre><code>foobar(string("text")+anotherString);
</code></pre>

<p>foobar expects a std::string as an argument</p>

<p>I've never seen a conversion done this way... what function is being called on "text". or is it some tricky way of casting?</p>
