Hi,
On Mon, 2006-10-02 at 10:38 +0200, Carsten Neumann wrote:
> Hi Dirk,
>
> BTW, have you tried to use the ...fx types with GeoConvert ? Unless I
> miss something the implementation special cases these by using template
> member partial specialization, which unfortunately is not allowed, only
> class templates can be partially specialized (I've just begun reading
> Modern C++ by Alexandrescu, and he mentions it in one of the early
> chapters ;) ).
I guess you refer to bottom page 27.
Anyway what we use for the fx type is not partial specialization, just
plain old function overloading and this is allowed.
The two points he makes is that you can not change the return type of a
function, mainly because it is not mangled. And you can not change
internal types unless it is reflected in the signature, my guess would
be again this is a problem of how names are mangled (don't have time to
check it). So for all practical purposes you are stuck with what
function overloading allows you to do.
kind regards,
gerrit
--
It's Emergent[*], you see.
[*] [adj] A word favored by computer nerds; mandatory for DARPA research
applications; on recent evidence, a synonym for 'doomed'.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core