This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

virtual object list


Bonjour
I can't creat a list (STL) of abstract class object.
"list<abstract_class> truc;" don't work.
who can i store abstract class objetc ( in fact  non abstract class objet
which inherits of an abstract class) in a stl list (without using pointers
if possible)
Have a nice day





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]