(j3.2006) Protected types

Van Snyder Van.Snyder
Fri Mar 8 23:29:42 EST 2013


I proposed protected types at 200, but the idea didn't get out of
subgroup.

Looking back on it, I realize this is essentially the same as my
proposal for limited types in section 13 on page 20 of 97-114r2, and
again in 04-167.

In Fortran 90, we provided elemental intrinsic procedures.  Then in
Fortran 95 we got around to providing elemental user-defined procedures.

In Fortran 2008, we introduced LOCK_TYPE, and prohibited it from
appearing in variable definition contexts.  TS 18508 introduces
LOCAL_EVENT_TYPE and TEAM_TYPE, and prohibits them from appearing in
variable definition contexts.  These are essentially limited (or
protected) types.

Why can't we do the same for user-defined types?





More information about the J3 mailing list