Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rutgers!cunixf.cc.columbia.edu!cs.columbia.edu!kearns From: kearns@cs.columbia.edu (Steve Kearns) Newsgroups: comp.lang.c++ Subject: 1 Definition Allowed Message-ID: <1990Nov1.202530.15347@cs.columbia.edu> Date: 1 Nov 90 20:25:30 GMT References: <1990Oct30.125546.3702@kodak.kodak.com> <1463@proto.COM> Reply-To: kearns@cs.columbia.edu (Steve Kearns) Followup-To: comp.lang.c++ Organization: Columbia University Department of Computer Science Lines: 8 E&S (3.1) says only one definition is allowed per program for any name. It also claims that "struct S { int a; int b; };" is a definition of a struct. But this seems to imply that such a struct declaration cannot appear in a header file which will be included in more than 1 compilation unit!!!!! This is obviously counter to anyone's intuition, so what gives? -steve