(j3.2006) Chaining type-bound procedure references

Van Snyder Van.Snyder
Fri May 2 14:51:58 EDT 2014


On Fri, 2014-05-02 at 01:00 -0400, Rafik Zurob wrote:
> C++ can get away with x.foo().bar() because inlining is part of the
> language and the definitions of inline member functions appear in the
> same translation unit as the call.  That's not the case in Fortran. 

Essentially the same mechanism that C++ uses to signal inlining, viz.,
defining the function within the class definition, was proposed for
Fortran in about 1986.





More information about the J3 mailing list