c++ std::string to boolean
<p>I am currently reading from an ini file with a key/value pair.  i.e.</p>

<pre><code>isValid = true
</code></pre>

<p>When get the key/value pair I need to convert a string of 'true' to a bool.  Without using boost what would be the best way to do this?</p>

<p>I know I can so a string compare on the value (<code>"true"</code>, <code>"false"</code>) but I would like to do the conversion without having the string in the ini file be case sensitive.</p>

<p>Thanks</p>
