Instance of ArrayList or LinkedList in paramater in c++?

  arraylist, c++, linked-list, structure, testing

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)
{ 
    // ..
}

Source: Windows Questions C++

LEAVE A COMMENT