Can std::find function use for our own classes?
<p>I have set of classes. Each class is inherited from another class. The relationship is as follows. (I am just posting how one class inherited from another class, just to get idea for all of you)</p>

<pre><code>class LineNumberList : public MyVector &lt;LineNumber &gt; //top class
class MyVector : public std::vector &lt;Type&gt;
class LineNumber : public ElementNumber 

class ElementNumber {                 //this is the base class
        protected:
    int number;
        public:
    ElementNumber(int p){number=p;}
         // some more codes // 
}
</code></pre>

<p>Now, I want to implement a function which can be used to <code>find</code> elements inside my topclass i.e. <code>LineNumberList</code>. I tried with standard <code>find</code> function, but it doesn’t work. Can anyone help me to implement similar find function for my case, it is highly appreciated.</p>
