adding to a set STL - C++
<p>I have a media program. i am adding CD,dvd,book info. I managed to get the book info added to the set. I am now adding the CD info. I have most of the Cd info added but i have a seperate function for adding band members. thats where i need help!</p>

<p>I am getting a cast error: error C2440: 'type cast' : cannot convert from 'const Item *const ' to 'CD'</p>

<p>CD.h</p>

<pre><code>#ifndef CD_H
#define CD_H
#pragma once
#include "item.h"

class CD : public Item
{
public:

    CD(const string&amp; theTitle, const string&amp; theBand, const int snumber);
    const string addBandMember(const string&amp; member);
    const int getNumber() const;
    const string getMusician() const;

    const string getBand() const;
    virtual void print(ostream&amp; out) const;
    ~CD();


private:

    string band;
    string musicians;
    string title;
    int number;

};

ostream&amp; operator&lt;&lt;(ostream&amp; out, const CD* cd);

#endif
</code></pre>

<p>CD.cpp</p>

<pre><code>const string CD::addBandMember(const string &amp;member)
{

    return this-&gt;musicians = member;

}
</code></pre>
