Find() method of an std::string pointer
<p>I have a function like this:</p>

<pre><code>int find_string ( string *url){
   if(*url.find() != string::npos){
        [...]
   }
   [...]
}
</code></pre>

<p>And call it this way:</p>

<pre><code>find_string(&amp;url);
</code></pre>

<p>But I got the following compiling error:</p>

<pre><code>request for member ‘find’ in ‘url’, which is of non-class type ‘std::string*’
</code></pre>

<p>Why this happen and, most importantly, how can I fix this? (When there was no pointer, it was working)</p>
