Home > Back-end >  Hash table. The find function can't find the reason of the existing content?
Hash table. The find function can't find the reason of the existing content?

Time:09-17

 bool CatalogManager: : tableExists (const string tableName) 
{
String TTTMP=tableName;
Auto TMP=tableMap. Find (" t1 ");
Auto TTMP=tableMap. Find (TTTMP);
If (tableMap. Find (tableName)!=tableMap. End ())
return true;
The else
return false;
}


The above code in the process of running, TMP returned to normal, but TTMP can only return to the map. The END (), what is this excuse me? Thank you very much!!

CodePudding user response:

TTTMP not t1
  • Related