[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdepimlibs/syndication
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2007-01-28 10:27:42
Message-ID: 200701281128.00768.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]

On Saturday 27 January 2007 18:37, Frank Osterfeld wrote:
> I see no serious problem with the way it is now except that the user can't 
> call detach() on a SharedPtr<Feed> in his code - which doesn't make sense 
> with interfaces anyway (as long as it used the non-virtual copy ctor).

The problem is that msvc instanciates all methods in a template, so you can't just
have one method that doesn't compile "but that's ok if nobody calls it". That works
with gcc but not with msvc.
What I don't understand personally, is: why does Feed inherit SharedPtr<Feed>?
How can an object be a shared pointer of itself?

-- 
David Faure, faure@kde.org, dfaure@klaralvdalens-datakonsult.se
KDE/KOffice developer, Qt consultancy projects
Klarälvdalens Datakonsult AB, Platform-independent software solutions

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic