Hello I am testing arraylist and linked list. I have method testujZoznam()
where I am passing List<T>
like parameter. In Java is operation instanceOf
, is something same in C++? I need to find out if it is ArrayList
in parameter or LinkedList
.
void TestZoznam::testujZoznam(List<T>& paList)
{
// ..
}
Aucun commentaire:
Enregistrer un commentaire