How do I add values to a dictionary?
I have slice classes defined as follows
class A
{
int a;
};
class B extends A
{
int b;
};
dictionary<int, A> ASeq;
Now in my c++ code I have the following function
void AddToMap(const APtr &pA)
{
m_mapA[pA->a] = pA
}
I get a compilation error about a private destructor.
Thanks

Reply With Quote