Why is size() function of std::string[] array returning an incorrect number of parameters : <p>This is a simple 2 line question that I just don't understand. </p>

<p>I just created an array with 3 members, and immediately afterwards, the size is reported as 6. It was working before, but all of sudden changed. I tried cleaning my project.</p>

<p>This is using Visual Studio 2015</p>

<pre><code>std::string detectionMethods[3] = { "SQUARE", "CIRCLE", "CIRCLE-SSV" };
int k_size = detectionMethods-&gt;length();
</code></pre>

<p>Thanks,</p>

<p><a href="https://i.stack.imgur.com/iZcM6.jpg" rel="nofollow noreferrer">Source code and debug screenshot</a></p>
