|
-
June 4th, 2002, 10:15 PM
#1
Can I maintain an array of std::map iterators?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|