🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Daniel Edelson Mon, 06 Aug 1990 22:48
Scopes and Friend declarations
#307
Author: Daniel Edelson
Date: Mon, 06 Aug 1990 22:48
17 lines
1079 bytes
From the ARM, section 3.2, Scopes

	``A name first declared by a friend declaration 
	belongs to the global scope.''

From the ARM, section 11.4, Friends

	``If a class or function mentioned as a friend has not 
	been declared its name is entered in the same scope 
	as the name of the class containing the declaration.''

Clearly these conflict, particularly in the presense of local and
nested classes. Is anyone at AT&T willing to bless rule or the other?

Daniel Edelson
daniel@cis.ucsc.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads