From kde-core-devel Sun Oct 30 16:59:57 2005 From: =?iso-8859-15?q?Andr=E9_W=F6bbeking?= Date: Sun, 30 Oct 2005 16:59:57 +0000 To: kde-core-devel Subject: Re: [Patch] fix compile kdecore with msvc Message-Id: <200510301759.58237.Woebbeking () onlinehome ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113069150408826 On Sunday 30 October 2005 17:49, Thiago Macieira wrote: > Christian Ehrlicher wrote: > >> You cannot compare two structs unless they provide operator==. > >> > >> Since KResolverEntry doesn't, you cannot compare two > >> KResolverResults. You're not supposed to, either, nor transform it > >> into a set or vector. > > > >But when you export the class, you have to provide a complete class > >interface with all functions implemented... > > No, I don't agree. Why should I provide functions that are not meant > to be called, ever? I think this is all about template instantiation. AFAIK msvc wants to instantiate the whole template class while gcc instantiate on demand. Cheers, André