https://bugs.documentfoundation.org/show_bug.cgi?id=75757
--- Comment #56 from Matteo Casalin <matteo.casa...@yahoo.com> --- I was wondering: would private inheritance at the same time limit the public interface and allow us to use C++11 aliases, saving some coding? >From example (sw/inc/swregion.hxx): typedef std::vector<SwRect> SwRects; class SwRegionRects : public SwRects could become typedef std::vector<SwRect> SwRects; class SwRegionRects : private SwRects { ... public: // only use a limited interface from SwRects using SwRects::size_type; using SwRects::operator[]; using SwRects::size; using SwRects::empty; using SwRects::assign; using SwRects::begin; using SwRects::end; ... Would this work? -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice