I have a base class like:

```
class Base
{
public:
    virtual void fun() const =0;
};

class Derived: public Base 
{
    virtual void fun()
    {
        //implemtation of fun
    }
};

```

I have a global structure:

```
struct Mystruct {
    int a;
    char *b;
} MYSTRUCT;

```

Then i added the structure to a vector:

```
List  = new MYSTRUCT;
vector<MYSTRUCT*> SS;
SS.push_back(List);

```

How can i pass the this vector to the fun function and access the struct in the function?