Subject: Re: [boost] [optional] generates unnessesary code for trivial types
From: Julien Nitard (julien.nitard_at_[hidden])
Date: 2012-02-14 21:30:44


> 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