c++ generic object
<p>HI,</p>

<p>I have the following code:</p>

<pre><code>class Libr
{   

public:
Libr();
std::string book;

class Street
{
public:
Street();

}*street
}*libr;
</code></pre>

<p>How can I use a generic object in the following method:</p>

<pre><code>void find(std::string, ??generic object)
{//code};
</code></pre>

<p>Can someone please give me an example with the generic object applied for both the classes I wrote?THX!</p>
