lists

hi i am working on a game and almost all things are coded in python,but i need to make some classes in c++,i have a problem with lists, in python i can insert in list everything, example list.append(map.getChild(i)): and result is added to list,how can i do that in c++,result is not integer,string,bool... result is nodepath?
closed account (1yR4jE8b)
If I'm understanding correctly, you want boost::any

http://www.boost.org/doc/libs/1_46_0/doc/html/any.html
thanks,
Topic archived. No new replies allowed.