2009/1/14 Peter Dimov <pdimov@pdimov.com>
Germán Diago:
...

  std::vector<boost::shared_ptr<DerivedClass> >
result(get_base_objects.size());

You're creating a vector full of NULLs here. :-)

True!!! What I wanted is result.reserve(get_base_objects.size())

Thank you. Corrected.