Can't access vector size
<pre><code>        #include &lt;vector&gt;
        using namespace std;
        int main(){
        vector&lt;double&gt; one;

        one.size;
        return 0;
    }
</code></pre>

<p>.</p>

<pre><code> error C3867: 'std::vector&lt;_Ty&gt;::size': function call missing argument list; use '&amp;std::vector&lt;_Ty&gt;::size' to create a pointer to member
1&gt;          with
1&gt;          [
1&gt;              _Ty=std::vector&lt;double&gt;
1&gt;          ]
</code></pre>

<p>I am using Visual Studio 2012. Any ideas what is causing those errors?</p>
