C
cppaddict
What do I have to do in order to create a list of one of my own classes?
That is, in order for:
list<myClass> myList;
to be a valid statement. I know I might have to define an iterator on it,
or implement operators like ++, but I don't know the details. Can anyone
let me know, or point to a good reference on the web?
Thanks,
cppaddict
That is, in order for:
list<myClass> myList;
to be a valid statement. I know I might have to define an iterator on it,
or implement operators like ++, but I don't know the details. Can anyone
let me know, or point to a good reference on the web?
Thanks,
cppaddict