[Patch] fix compile kdecore with msvc

Thiago Macieira thiago at kde.org
Sun Oct 30 17:04:56 GMT 2005


André Wöbbeking wrote:
>I think this is all about template instantiation. AFAIK msvc wants to
>instantiate the whole template class while gcc instantiate on demand.

Ah, that starts to make sense...

Ok, I suppose we can provide a useful operator==, but I see no way of 
making a usable qHash.

The resolver results are an ordered list of elements. It doesn't make 
sense to create QSets of it. If I didn't know compilers had problem with 
it, I'd suggest using a specialised template to make QSet<KResolverEntry> 
never be used.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051030/e5746da2/attachment.sig>


More information about the kde-core-devel mailing list