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

List:       kde-core-devel
Subject:    Re: [Patch] fix compile kdecore with msvc
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-10-30 17:04:56
Message-ID: 200510301504.56891.thiago () kde ! org
[Download RAW message or body]


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.

[Attachment #3 (application/pgp-signature)]

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

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