Carsten Neumann wrote:

> hm, seems like the MS compiler generates code for member functions of a 
> class template even when they are not used.
> I checked in a hack to work around that, please try r1716, sorry for the 
> inconvenience.
> 
> @Gerrit: do you have a better idea how to make the compiler not 
> instantiate the member function? I always thought that was one of the 
> nice things about class templates, its members are allowed to do 
> nonsense as long as you don't call them?

That's how it is, even on Windoze. :)

It might be that the function is being referenced somehow anyway, due to 
code using undefined behaviour, differing compiler interpretations of 
vague or overly-permissive wording the standard, or just a compiler bug.

Cheers,
/Marcus

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to