string.c_str() is const?
<p>I have a function in a library that takes in a <code>char*</code> and modifies the data.</p>

<p>I tried to give it the <code>c_str()</code> but c++ docs say it returns a <code>const char*</code>.</p>

<p>What can I do other than newing a char array and copying it into that?</p>
