(j3.2006) Question about generic names, procedure names, and constructors

Bill Long longb
Sat Nov 21 12:30:57 EST 2009



Van Snyder wrote:
> 16.3.1p3 says that a generic name may be the same as a procedure name
> "as explained in 12.4.3.2."

I think the relevant text is in 12.4.3.4, [283:9-11], which covers the 
case of a generic name and a procedure name being the same. The next 
paragraph, [283:12-13] covers the case of a generic name being the same 
as a derived-type name.

The cross reference at [442:19] appears to need fixing.

> 
> I couldn't find anything in 12.4.3.2 that is germane to this statement.
> 
> What does it mean?  Where is it described in 12.4.3.2?
> 
> Do 12.5.5.1 and 12.5.5.2 work for the case of a generic function name
> that is the same as a derived type name?
> 

Yes, because of C496 at [80:22-24].  See also Note 4.58 on the same page.

Cheers,
Bill



-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the J3 mailing list