> The problem is that definitions of template methods are to be defined inline 
> (in the header within the class definition or outside the class definition 
> defining it as 'inline'.

> Anyway, my advice is to keep the overload maybe moving shared code not 
> involving the type to a helper function. Playing with templates is painfull.

Right. Return to overload, which seems necessary now.
The svn doesn't allow commiting, so I just send patches to the list:

 * SchemaBrower.cxx: add hasScope() to make the overloaded addAttribute() 
suitable for AggregationEditor
 * AggregationEditor.cxx: remove the attributeList->findItems, because 'source' 
won't repeat

Jun


----- Original Message ----- 
From: "David García Garzón" <[EMAIL PROTECTED]>
To: "Jun Jun" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, August 19, 2008 12:04 AM
Subject: Re: Problems of function template

Attachment: OverLoadFunctionIsProper.patch
Description: Binary data

_______________________________________________
Clam-devel mailing list
[email protected]
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

Reply via email to