Hi Gerrit,
Gerrit Voss wrote:
> Hi,
> I guess you refer to bottom page 27.
yes, I should have given a more precise reference.
> Anyway what we use for the fx type is not partial specialization, just
> plain old function overloading and this is allowed.
ouch, now I get it. I did not realize that it is possible to add another
template function to the overload set of a template function. Tricky ;)
Sorry for the false alarm.
> 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).
(If you don't have the time to answer this, please don't - I feel guilty
enough of leeching your time already)
What do you mean by "internal types" here ?
> So for all practical purposes you are stuck with what
> function overloading allows you to do.
Ok, thanks for explaining, I haven't though about the reason why part.
spec. of (member) functions is not allowed.
Thanks,
Carsten
-------------------------------------------------------------------------
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