Jump to content

[SOLVED] Map::check int C++?


photo

Recommended Posts

Posted

Howdy,

 

Please use Map::find instead. See this code sample:

int key = 42;
Unigine::Map<int,const char*> map;

// add some data

Unigine::Map<int,const char*>::Iterator it = map.find(key);
if(it != map.end()) {

// found item

}


How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...