Home » Community » Newbie corner » VectorMap picks two vectors
| Re: VectorMap picks two vectors [message #38161 is a reply to message #38157] |
Mon, 03 December 2012 07:18   |
|
|
| Lance wrote on Mon, 03 December 2012 06:30 | correct me if there is a member function do what you intended in a single call
| This can be done in single call, but only in constructor: Vector<String> v1;
Vector<int> v2;
for (int i = 0; i < 10; ++i){
v1.Add("String " + AsString(i));
v2.Add(i);
}
VectorMap<int, String> myMap(v2,v1);
StdLogSetup(LOG_CERR);
DUMP(v1.IsPicked());
DUMP(v2.IsPicked());
DUMPM(myMap);
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Wed Jan 14 23:05:26 CET 2026
Total time taken to generate the page: 0.13807 seconds
|