First page Back Continue Last page Graphics
list cont.
list<Elem> c
- creates an empty list without any elements.
list<Elem> c1(c2)
- creates a copy of another list of the same type (all elements are copied)
list<Elem> c(n)
- creates a list with n elements that are created by the default constructor
list<Elem> c(n, elem)
- creates a list initialized with n copies of element elem.