From -4342810016092785769
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,e2e26ef14f999c41
X-Google-Attributes: gidf78e5,public
From: "Paul J. Lucas" <grumpy@wizard.arc.nasa.gov>
Subject: Re: struct member functions
Date: 1996/07/19
Message-ID: <pjl.837790154@wizard>#1/1
X-Deja-AN: 169681935
references: <4smu1i$inj@dfw-ixnews4.ix.netcom.com>
x-original-date: 19 Jul 96 15:29:14 GMT
organization: NASA Ames Research Center
x-auth: PGPMoose V1.1 PGP comp.std.c++
newsgroups: comp.std.c++


In <4smu1i$inj@dfw-ixnews4.ix.netcom.com> rkdious@ix.netcom.com (Daniel)
writes:

>Can I not have a member function AND a member variable of the same name in a 
>structor?

	You can not reuse any identifier in the same scope with the
	exception of overloaded functions.

	- Paul J. Lucas
	  NASA Ames Research Center		Caelum Research Corporation
	  Moffett Field, California		San Jose, California
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]



