plpathy
June 4th, 2002, 10:15 PM
I have an std::map as follows:
std::map<long, double, std::less > mapTemp;
std::map<long, double, std::less >::iteartor mapTempIter;
I want to maintain a pointer array of iteraors of mapTemp as something like this:
std::map<long, double, std::less >::iteartor *mapTempIter;
How do I allocate the memory for this and access the elements of it?
somebody suggest me.
regards,
Lakshmipathy
std::map<long, double, std::less > mapTemp;
std::map<long, double, std::less >::iteartor mapTempIter;
I want to maintain a pointer array of iteraors of mapTemp as something like this:
std::map<long, double, std::less >::iteartor *mapTempIter;
How do I allocate the memory for this and access the elements of it?
somebody suggest me.
regards,
Lakshmipathy