(j3.2006) Access spec on interface blocks
Damian Rouson
damian
Sat Apr 11 04:21:01 EDT 2015
> On Apr 9, 2015, at 8:21 AM, Lionel, Steve <steve.lionel at intel.com> wrote:
>
> !.. What possible reasons could there be to disallow the following?
> !interface, public :: operator(.foo.) !.. why not!?
I don?t know of any fundamental reasons to disallow it. As purely a matter of style, however, I prefer to see PUBLIC attributes listed at the top of a module so the reader doesn?t have to search for them.
>
>
> public :: operator(.foo.) !.. this won't needed if public attribute allowed as above
This form is more amenable to moving to the top of the module in a list of all PUBLIC statements for the module.
Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20150411/622359af/attachment.html
More information about the J3
mailing list