[J3] [EXTERNAL] Elemental type-bound functions not useful

Van Snyder van.snyder at sbcglobal.net
Mon Mar 29 18:17:57 UTC 2021


On Mon, 2021-03-29 at 12:59 +0000, Clune, Thomas L. (GSFC-6101) via J3
wrote:
> I meant to add that the use case you are describing is essentially
> the poster child for templates vs OO.   When the return type varies
> with the input type, templates are a very natural fit, and trying to
> force OO is tricky at best.

This doesn't solve the problem unless type-bound functions are allowed
not to have polymorphic passed-object dummy arguments.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210329/96a342b9/attachment.htm>


More information about the J3 mailing list