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 Apr 30 16:08:14 CEST 2025
Total time taken to generate the page: 0.00458 seconds
|