GLib/GObject+C as the lingua franca?
kloecker at kde.org
Sun Jul 27 22:23:09 BST 2008
On Sunday 27 July 2008, Thiago Macieira wrote:
> Ingo Klöcker wrote:
> >On Sunday 27 July 2008, nf2 wrote:
> >> The attached example implements the "GO" template class and tests
> >> it a little - valgrind reports 0 leaks :-)
> >> A bit like a C++ class with QExplicitlySharedDataPointer.
> >There's no need to reinvent the wheel:
> >I doubt people would be happy if you'd introduce a dependency on
> > boost, but you could still copy the well-tried implementation of
> >boost::intrusive_ptr<T> instead of rolling your own implementation.
> I'm rolling out QSharedPointer which will have both shared_ptr and
> intrusive_ptr functionality for Qt 4.5.
Why do you Trolls have to do everything by yourself? ;-)
> There's no need for a Boost dependency.
Sometimes a Boost dependency is acceptable while a Qt dependency is not.
In particular, in case of an LGPL'd library a Qt dependency is not an
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel