
15 Feb
2012
15 Feb
'12
2:30 a.m.
An std container of references does not compile, a std container of pointers does. In code with dynamic polymorphic type systems pointers get used a lot, and often more than they should.
An std container of (boost/std)::(shared_ptr/unique_ptr) does compile and should be prefered to raw pointers. Julien