Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Noel,

On Tue, 2012-02-07 at 18:40 +0200, Noel Grandin wrote:

Note that I did not use boost::ptr_vector because that would have meant 
switching to using references everywhere, and the existing logic makes 
use of NULL values, so I left that for a future patch.

There is an easy trick to that problem.  With ptr_vector you can still
return pointer via

  ptr_vector<type> container;
  ....
  type* p = &container[n];

But it's not that critical; we can just keep this in vector for now.
Not a big deal.

Pushed to master with a few changes.  Thanks a lot.

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.