[comp.lang.c++] overriding an overloaded method in a derived class

rpjday@ccu.umanitoba.ca (09/06/90)

  Here we go again, demonstrating my lack of C++ expertise.
Consider a base class, with an overloaded method

	type	func()
		{ return private data of type "type" ; }
	void	func(type x)
		{ set same private data of that type ;}

  Basically, func does double duty as a set/get combination to
get access to a single item of private data.  This is in some
base class.
  Now we have the derived class

	class derived: public base {
	.
	.

	void	func(type x)
		{ set private data, but slightly more complicated ; }

  In the derived class, it turns out that we need to more work to 
set the very same piece of private data inherited from the base class.
However, upon redefining the "set" form of the inherited member
"func", the "get" form, which we wish to inherit AS IS, is no longer
available.
  Is this the way it is supposed to work?  When one redefines a
base member, one redefines ALL of the overloaded forms of it?
  thanks for any help.

R. Day